#003D8A
Closest named color: Twilight Blue (#0A437A). oklch(37.8% 0.14 258.1), rgb(0, 61, 138).
Aa
White text reads best on this color (10.32:1).
About this color
#003D8A is a dark, vivid blue. In OKLCH its lightness is 38%, its chroma 0.140 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.034 away. White text reads best on it, at 10.32:1.
| Hue family | Blues |
| Lightness | dark (38%) |
| Chroma | vivid (0.140) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.03:1 |
| White text | 10.32:1 |
Values
| HEX | #003D8A |
| RGB | rgb(0, 61, 138) |
| HSL | hsl(213, 100%, 27%) |
| OKLCH | oklch(37.8% 0.14 258.1) |
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 #003D8A | 10.32:1 | AAA | Lc -97.3 | Preferred for body text |
| Black text on #003D8A | 2.03:1 | Fails | Lc 10.7 | Not readable |
| #003D8A text on white | 10.32:1 | AAA | Lc 93.2 | Preferred for body text |
| #003D8A text on black | 2.03:1 | Fails | Lc -9.3 | Not readable |
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 900.
-
Step 50
50
#F0F6FF
oklch(97.1% 0.014 258.3)
-
Step 100
100
#DEEBFF
oklch(93.6% 0.031 258.9)
-
Step 200
200
#C3DBFF
oklch(88.5% 0.056 258.4)
-
Step 300
300
#9AC3FF
oklch(81% 0.096 257.8)
-
Step 400
400
#61A0FF
oklch(70.6% 0.154 258.4)
-
Step 500
500
#2D85FF
oklch(63.2% 0.199 257.9)
-
Step 600
600
#006CE9
oklch(55.7% 0.207 258.1)
-
Step 700
700
#005AC5
oklch(49.1% 0.183 258.1)
-
Step 800
800
#0049A3
oklch(42.6% 0.159 258.2)
-
Step 900
900 (this color)
#003D8A
oklch(37.8% 0.14 258.1)
-
Step 950
950
#052451
oklch(26.9% 0.09 258.4)
#003D8A 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) | #00468D | 0.025 |
| Deuteranopia (no green cones) | #003B89 | 0.006 |
| Tritanopia (no blue cones) | #00505D | 0.105 |
| Achromatopsia (no color) | #404040 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #003D8A
#003D8A
oklch(37.8% 0.14 258.1)
- #583B00
#583B00
oklch(37.6% 0.078 77.7)
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 #003D8A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.034
- Cobalt #1E488F ΔE 0.039
- Marine Blue #01386A ΔE 0.056
- Sapphire #2138AB ΔE 0.060
- Light Navy #155084 ΔE 0.060
- Deep Sea Blue #015482 ΔE 0.071
- Dusk Blue #26538D ΔE 0.072
- Dark Slate Blue #483D8B ΔE 0.075
Use #003D8A 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.