#045FA5
Closest named color: Peacock Blue (#016795). oklch(47.8% 0.134 250.2), rgb(4, 95, 165).
Aa
White text reads best on this color (6.59:1).
About this color
#045FA5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.134 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Peacock Blue (#016795), ΔE 0.038 away. White text reads best on it, at 6.59:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.134) |
| Temperature | cool |
| Nearest name | Peacock Blue (#016795) |
| Black text | 3.18:1 |
| White text | 6.59:1 |
Values
| HEX | #045FA5 |
| RGB | rgb(4, 95, 165) |
| HSL | hsl(206, 95%, 33%) |
| OKLCH | oklch(47.8% 0.134 250.2) |
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 #045FA5 | 6.59:1 | AA | Lc -87.1 | Fine for body text |
| Black text on #045FA5 | 3.18:1 | AA large text | Lc 22.1 | Dividers and decoration only |
| #045FA5 text on white | 6.59:1 | AA | Lc 82.0 | Fine for body text |
| #045FA5 text on black | 3.18:1 | AA large text | Lc -19.9 | 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
#E1EBF6
oklch(93.6% 0.018 250.6)
-
Step 200
200
#C8DCF1
oklch(88.6% 0.036 249.5)
-
Step 300
300
#A1C4EA
oklch(80.8% 0.066 250.7)
-
Step 400
400
#6DA5DF
oklch(70.7% 0.104 250.3)
-
Step 500
500
#438DD6
oklch(63% 0.133 250.5)
-
Step 600
600
#1D76C4
oklch(55.6% 0.145 250.3)
-
Step 700
700 (this color)
#045FA5
oklch(47.8% 0.134 250.2)
-
Step 800
800
#115189
oklch(42.7% 0.111 250.3)
-
Step 900
900
#17446E
oklch(37.9% 0.087 250)
-
Step 950
950
#0F2840
oklch(27% 0.055 249.7)
#045FA5 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) | #3B64A8 | 0.039 |
| Deuteranopia (no green cones) | #1E57A4 | 0.022 |
| Tritanopia (no blue cones) | #00707A | 0.097 |
| Achromatopsia (no color) | #5D5D5D | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #045FA5
#045FA5
oklch(47.8% 0.134 250.2)
- #815100
#815100
oklch(47.8% 0.103 70.5)
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 #045FA5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Peacock Blue #016795 ΔE 0.038
- Mid Blue #276AB3 ΔE 0.042
- Denim Blue #3B5B92 ΔE 0.043
- Dusk Blue #26538D ΔE 0.047
- Light Navy Blue #2E5A88 ΔE 0.049
- Dusky Blue #475F94 ΔE 0.054
- Denim #3B638C ΔE 0.055
- Ocean Blue #03719C ΔE 0.058
Use #045FA5 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.