#0254A5
Closest named color: Dusk Blue (#26538D). oklch(45.2% 0.148 255), rgb(2, 84, 165).
Aa
White text reads best on this color (7.46:1).
About this color
#0254A5 is a medium-dark, vivid blue. In OKLCH its lightness is 45%, its chroma 0.148 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.041 away. White text reads best on it, at 7.46:1.
| Hue family | Blues |
| Lightness | medium-dark (45%) |
| Chroma | vivid (0.148) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.81:1 |
| White text | 7.46:1 |
Values
| HEX | #0254A5 |
| RGB | rgb(2, 84, 165) |
| HSL | hsl(210, 98%, 33%) |
| OKLCH | oklch(45.2% 0.148 255) |
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 #0254A5 | 7.46:1 | AAA | Lc -90.1 | Preferred for body text |
| Black text on #0254A5 | 2.81:1 | Fails | Lc 18.8 | Dividers and decoration only |
| #0254A5 text on white | 7.46:1 | AAA | Lc 85.2 | Fine for body text |
| #0254A5 text on black | 2.81:1 | Fails | Lc -16.8 | 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 800.
-
Step 50
50
#F0F6FD
oklch(97.1% 0.011 252.1)
-
Step 100
100
#DFEBFB
oklch(93.6% 0.025 255.6)
-
Step 200
200
#C4DBF9
oklch(88.4% 0.048 255.1)
-
Step 300
300
#9BC4F8
oklch(81% 0.086 254.6)
-
Step 400
400
#62A3F5
oklch(70.8% 0.138 255)
-
Step 500
500
#3089F1
oklch(63.1% 0.177 255)
-
Step 600
600
#0071DB
oklch(55.7% 0.183 255)
-
Step 700
700
#005EB9
oklch(49% 0.162 255.1)
-
Step 800
800 (this color)
#0254A5
oklch(45.2% 0.148 255)
-
Step 900
900
#0A417D
oklch(37.8% 0.115 255)
-
Step 950
950
#092649
oklch(26.9% 0.074 255.3)
#0254A5 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) | #225CA8 | 0.029 |
| Deuteranopia (no green cones) | #004FA3 | 0.014 |
| Tritanopia (no blue cones) | #006874 | 0.111 |
| Achromatopsia (no color) | #555555 | 0.148 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0254A5
#0254A5
oklch(45.2% 0.148 255)
- #744D00
#744D00
oklch(45.2% 0.095 75.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 #0254A5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.041
- Cobalt #1E488F ΔE 0.045
- Light Navy #155084 ΔE 0.054
- Denim Blue #3B5B92 ΔE 0.056
- Deep Sea Blue #015482 ΔE 0.058
- Light Navy Blue #2E5A88 ΔE 0.058
- Peacock Blue #016795 ΔE 0.065
- Sapphire #2138AB ΔE 0.069
Use #0254A5 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.