#0254C2
Closest named color: Blue Blue (#2242C7). oklch(47.6% 0.186 259.3), rgb(2, 84, 194).
Aa
White text reads best on this color (6.88:1).
About this color
#0254C2 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.186 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.041 away. White text reads best on it, at 6.88:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.186) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 3.04:1 |
| White text | 6.88:1 |
Values
| HEX | #0254C2 |
| RGB | rgb(2, 84, 194) |
| HSL | hsl(214, 98%, 38%) |
| OKLCH | oklch(47.6% 0.186 259.3) |
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 #0254C2 | 6.88:1 | AA | Lc -87.9 | Fine for body text |
| Black text on #0254C2 | 3.04:1 | AA large text | Lc 21.1 | Dividers and decoration only |
| #0254C2 text on white | 6.88:1 | AA | Lc 82.9 | Fine for body text |
| #0254C2 text on black | 3.04:1 | AA large text | Lc -19.0 | 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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E0EBFC
oklch(93.7% 0.026 259)
-
Step 200
200
#C6DBFB
oklch(88.6% 0.05 258.7)
-
Step 300
300
#9EC2FB
oklch(80.9% 0.09 259.4)
-
Step 400
400
#68A0F9
oklch(70.6% 0.144 259.3)
-
Step 500
500
#3E85F6
oklch(63% 0.184 259.4)
-
Step 600
600
#1A6CE5
oklch(55.7% 0.199 259.3)
-
Step 700
700 (this color)
#0254C2
oklch(47.6% 0.186 259.3)
-
Step 800
800
#0E49A1
oklch(42.6% 0.154 259.4)
-
Step 900
900
#153E80
oklch(37.6% 0.121 259.7)
-
Step 950
950
#0D254B
oklch(27% 0.077 259.3)
#0254C2 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) | #0062C6 | 0.036 |
| Deuteranopia (no green cones) | #0052C0 | 0.006 |
| Tritanopia (no blue cones) | #007083 | 0.140 |
| Achromatopsia (no color) | #5A5A5A | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0254C2
#0254C2
oklch(47.6% 0.186 259.3)
- #7A5500
#7A5500
oklch(47.7% 0.099 79.4)
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 #0254C2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.041
- Majorelle Blue #3F37C9 ΔE 0.069
- Mid Blue #276AB3 ΔE 0.071
- Warm Blue #4B57DB ΔE 0.071
- Azul #1D5DEC ΔE 0.071
- Sapphire #2138AB ΔE 0.074
- Blue With A Hint Of Purple #533CC6 ΔE 0.081
- Cobalt #1E488F ΔE 0.085
Use #0254C2 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.