#005ECC
Closest named color: Azul (#1D5DEC). oklch(50.5% 0.187 258), rgb(0, 94, 204).
Aa
White text reads best on this color (6.04:1).
About this color
#005ECC is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.187 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.051 away. White text reads best on it, at 6.04:1.
| Hue family | Blues |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.187) |
| Temperature | cool |
| Nearest name | Azul (#1D5DEC) |
| Black text | 3.47:1 |
| White text | 6.04:1 |
Values
| HEX | #005ECC |
| RGB | rgb(0, 94, 204) |
| HSL | hsl(212, 100%, 40%) |
| OKLCH | oklch(50.5% 0.187 258) |
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 #005ECC | 6.04:1 | AA | Lc -84.6 | Fine for body text |
| Black text on #005ECC | 3.47:1 | AA large text | Lc 24.7 | Dividers and decoration only |
| #005ECC text on white | 6.04:1 | AA | Lc 79.3 | Fine for body text |
| #005ECC text on black | 3.47:1 | AA large text | Lc -22.5 | 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
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C5DBFB
oklch(88.5% 0.05 257.7)
-
Step 300
300
#9CC3FB
oklch(80.9% 0.09 257.4)
-
Step 400
400
#65A1F9
oklch(70.7% 0.144 257.9)
-
Step 500
500
#3886F6
oklch(63% 0.184 258.1)
-
Step 600
600
#096DE5
oklch(55.7% 0.2 257.8)
-
Step 700
700 (this color)
#005ECC
oklch(50.5% 0.187 258)
-
Step 800
800
#044AA1
oklch(42.7% 0.154 258)
-
Step 900
900
#103F80
oklch(37.7% 0.121 258)
-
Step 950
950
#0B254B
oklch(26.9% 0.077 258.3)
#005ECC 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) | #006BD0 | 0.034 |
| Deuteranopia (no green cones) | #005BCA | 0.008 |
| Tritanopia (no blue cones) | #007A8C | 0.141 |
| Achromatopsia (no color) | #636363 | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #005ECC
#005ECC
oklch(50.5% 0.187 258)
- #855C00
#855C00
oklch(50.6% 0.105 78.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 #005ECC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Azul #1D5DEC ΔE 0.051
- Mid Blue #276AB3 ΔE 0.057
- Warm Blue #4B57DB ΔE 0.058
- Royal Blue #4169E1 ΔE 0.062
- Blue Blue #2242C7 ΔE 0.064
- Cerulean Blue #056EEE ΔE 0.065
- Neon Blue #4361EE ΔE 0.070
- Bright Blue #0165FC ΔE 0.076
Use #005ECC 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.