#00336D
Closest named color: Marine Blue (#01386A). oklch(32.9% 0.113 256.1), rgb(0, 51, 109).
Aa
White text reads best on this color (12.39:1).
About this color
#00336D is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.113 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.017 away. White text reads best on it, at 12.39:1.
| Hue family | Blues |
| Lightness | dark (33%) |
| Chroma | moderately saturated (0.113) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.69:1 |
| White text | 12.39:1 |
Values
| HEX | #00336D |
| RGB | rgb(0, 51, 109) |
| HSL | hsl(212, 100%, 21%) |
| OKLCH | oklch(32.9% 0.113 256.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 #00336D | 12.39:1 | AAA | Lc -101.1 | Preferred for body text |
| Black text on #00336D | 1.69:1 | Fails | Lc 0.0 | Not readable |
| #00336D text on white | 12.39:1 | AAA | Lc 97.6 | Preferred for body text |
| #00336D text on black | 1.69:1 | Fails | Lc 0.0 | 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFB
oklch(93.7% 0.025 257.6)
-
Step 200
200
#C5DBF9
oklch(88.5% 0.048 256.2)
-
Step 300
300
#9DC3F7
oklch(80.8% 0.085 256.3)
-
Step 400
400
#66A2F3
oklch(70.6% 0.135 256.3)
-
Step 500
500
#3888EF
oklch(63% 0.173 256.3)
-
Step 600
600
#056FDD
oklch(55.5% 0.188 256.1)
-
Step 700
700
#005DBD
oklch(49.1% 0.169 256.1)
-
Step 800
800
#024C9B
oklch(42.6% 0.144 256)
-
Step 900
900 (this color)
#00336D
oklch(32.9% 0.113 256.1)
-
Step 950
950
#0C2648
oklch(26.9% 0.071 256.4)
#00336D 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) | #0C396F | 0.021 |
| Deuteranopia (no green cones) | #00306C | 0.009 |
| Tritanopia (no blue cones) | #00414A | 0.084 |
| Achromatopsia (no color) | #343434 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #00336D
#00336D
oklch(32.9% 0.113 256.1)
- #492F00
#492F00
oklch(32.8% 0.069 75.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 #00336D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.017
- Marine #042E60 ΔE 0.026
- Prussian Blue #1D3557 ΔE 0.045
- Twilight Blue #0A437A ΔE 0.052
- Midnight Blue #191970 ΔE 0.063
- Midnight Green #073B4C ΔE 0.069
- Dark Blue Grey #1F3B4D ΔE 0.070
- Space Cadet #2B2D42 ΔE 0.083
Use #00336D 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.