CSS named color
SteelBlue #4682B4
SteelBlue (CSS keyword steelblue) has the hex code #4682B4 and the RGB value rgb(70, 130, 180): a medium, moderately saturated sky blue.
A medium, grayish blue (#4682b4) that evokes tempered steel. A dependable, corporate blue that passes WCAG AA for large text on white.
Color codes for SteelBlue
| CSS keyword | steelblue |
|---|---|
| HEX | #4682B4 |
| RGB | rgb(70, 130, 180) |
| HSL | hsl(207, 44%, 49%) |
| HWB | hwb(207 27% 29%) |
| OKLCH | oklch(58.8% 0.099 245.7) |
| CMYK (naive, no ICC profile) | cmyk(61%, 28%, 0%, 29%) |
| Decimal | 4,620,980 |
| Hue family | Blues |
Contrast and accessibility
On steelblue, black text has a contrast ratio of 5.11:1 and passes AA for normal text; white text reaches 4.10:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on steelblue | 5.11:1 | Pass | Pass | Fail | Pass | 36.1 |
| White text on steelblue | 4.10:1 | Fail | Pass | Fail | Fail | −73.5 |
| Steelblue text on white | 4.10:1 | Fail | Pass | Fail | Fail | 68.0 |
| Steelblue text on black | 5.11:1 | Pass | Pass | Fail | Pass | −33.6 |
Tints and shades
Each step mixes steelblue with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, steelblue, white 25%) in CSS.
Tints (mixed with white)
- 5%
#4f88b8 - 15%
#6295bf - 25%
#74a1c7 - 35%
#87aece - 45%
#99bad6 - 55%
#acc7dd - 65%
#bed3e5 - 75%
#d1e0ec - 85%
#e3ecf4 - 95%
#f6f9fb
Shades (mixed with black)
- 5%
#437cab - 15%
#3c6f99 - 25%
#356287 - 35%
#2e5575 - 45%
#274863 - 55%
#1f3a51 - 65%
#192e3f - 75%
#12212d - 85%
#0b141b - 95%
#040709
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, steelblue's complementary color is #A57037 (close to sienna), its analogous colors are #188BA2 and #6C77B7, and its triadic partners are #AE6274 and #6E8742. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #a57037 |
| Analogous | −30°, +30° | #188ba2#6c77b7 |
| Triadic | +120°, +240° | #ae6274#6e8742 |
| Split-complementary | +150°, +210° | #af6653#8f7c2e |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
SteelBlue is a cool color: its hue is 207° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Code snippets
.element {
color: steelblue;
background-color: #4682b4;
border-color: rgb(70 130 180);
outline-color: oklch(58.8% 0.099 245.7);
}<div class="bg-[#4682b4] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-steelblue: #4682b4;
}
/* then use bg-steelblue, text-steelblue, border-steelblue */import SwiftUI
extension Color {
static let steelblue = Color(red: 0.275, green: 0.510, blue: 0.706)
}import androidx.compose.ui.graphics.Color
val Steelblue = Color(0xFF4682B4)import 'package:flutter/material.dart';
const steelblue = Color(0xFF4682B4);<!-- res/values/colors.xml -->
<color name="steelblue">#4682B4</color>Frequently asked questions
- What is the hex code for steelblue?
- The hex code for steelblue is #4682B4. The same color is rgb(70, 130, 180), hsl(207, 44%, 49%) and oklch(58.8% 0.099 245.7), and in CSS you can also write the keyword steelblue directly.
- Is steelblue a warm or cool color?
- SteelBlue is a cool color: its hue is 207° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
- What colors go with steelblue?
- Rotating the hue in OKLCH while keeping lightness and chroma, steelblue's complementary color is #A57037 (close to sienna), its analogous colors are #188BA2 and #6C77B7, and its triadic partners are #AE6274 and #6E8742. For text on top, black gives the higher contrast.
- Can you use white text on steelblue?
- White text on steelblue has a contrast ratio of 4.10:1, which passes AA only for large text (24 px, or 18.66 px bold, and up) under WCAG 2.2. Black text reaches 5.11:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −73.5 for white and Lc 36.1 for black.
- What is the RGB value of steelblue?
- SteelBlue is rgb(70, 130, 180): red 70, green 130 and blue 180 on the 0 to 255 scale, or 27.5%, 51.0% and 70.6%. As a decimal integer it is 4620980.
Last reviewed by Arielton Oberek.