#045D9A
Closest named color: Peacock Blue (#016795). oklch(46.6% 0.123 247.6), rgb(4, 93, 154).
Aa
White text reads best on this color (6.91:1).
About this color
#045D9A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.123 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Peacock Blue (#016795), ΔE 0.033 away. White text reads best on it, at 6.91:1.
| Hue family | Blues |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.123) |
| Temperature | cool |
| Nearest name | Peacock Blue (#016795) |
| Black text | 3.03:1 |
| White text | 6.91:1 |
Values
| HEX | #045D9A |
| RGB | rgb(4, 93, 154) |
| HSL | hsl(204, 95%, 31%) |
| OKLCH | oklch(46.6% 0.123 247.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #045D9A | 6.91:1 | AA | Lc -88.3 | Fine for body text |
| Black text on #045D9A | 3.03:1 | AA large text | Lc 20.7 | Dividers and decoration only |
| #045D9A text on white | 6.91:1 | AA | Lc 83.3 | Fine for body text |
| #045D9A text on black | 3.03:1 | AA large text | Lc -18.6 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F1F6FB
oklch(97.1% 0.009 247.9)
-
Step 100
100
#E1EBF5
oklch(93.5% 0.017 248)
-
Step 200
200
#C9DCEE
oklch(88.6% 0.032 246.7)
-
Step 300
300
#A3C5E6
oklch(81% 0.059 247.8)
-
Step 400
400
#6FA6D9
oklch(70.7% 0.095 247.5)
-
Step 500
500
#468FCF
oklch(63.2% 0.121 247.5)
-
Step 600
600
#2278BC
oklch(55.7% 0.132 247.5)
-
Step 700
700 (this color)
#045D9A
oklch(46.6% 0.123 247.6)
-
Step 800
800
#145283
oklch(42.7% 0.101 247.5)
-
Step 900
900
#194469
oklch(37.6% 0.079 247.8)
-
Step 950
950
#10283E
oklch(27% 0.051 248.4)
#045D9A with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #3F619C | 0.043 |
| Deuteranopia (no green cones) | #285499 | 0.028 |
| Tritanopia (no blue cones) | #006C74 | 0.087 |
| Achromatopsia (no color) | #5A5A5A | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #045D9A
#045D9A
oklch(46.6% 0.123 247.6)
- #7F4D00
#7F4D00
oklch(46.7% 0.103 67.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #045D9A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Peacock Blue #016795 ΔE 0.033
- Dusk Blue #26538D ΔE 0.033
- Light Navy Blue #2E5A88 ΔE 0.034
- Denim Blue #3B5B92 ΔE 0.036
- Deep Sea Blue #015482 ΔE 0.045
- Light Navy #155084 ΔE 0.047
- Denim #3B638C ΔE 0.048
- Dusky Blue #475F94 ΔE 0.051
Use #045D9A in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.