#336DB4
Closest named color: Mid Blue (#276AB3). oklch(53.2% 0.127 255), rgb(51, 109, 180).
Aa
White text reads best on this color (5.26:1).
About this color
#336DB4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.127 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.013 away. White text reads best on it, at 5.26:1.
| Hue family | Blues |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.127) |
| Temperature | cool |
| Nearest name | Mid Blue (#276AB3) |
| Black text | 3.98:1 |
| White text | 5.26:1 |
Values
| HEX | #336DB4 |
| RGB | rgb(51, 109, 180) |
| HSL | hsl(213, 56%, 45%) |
| OKLCH | oklch(53.2% 0.127 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 #336DB4 | 5.26:1 | AA | Lc -81.2 | Fine for body text |
| Black text on #336DB4 | 3.98:1 | AA large text | Lc 28.2 | Dividers and decoration only |
| #336DB4 text on white | 5.26:1 | AA | Lc 75.9 | Fine for body text |
| #336DB4 text on black | 3.98:1 | AA large text | Lc -25.9 | 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 600.
-
Step 50
50
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E3EBF5
oklch(93.7% 0.016 253.9)
-
Step 200
200
#CBDBEE
oklch(88.5% 0.031 252.7)
-
Step 300
300
#A8C3E6
oklch(80.9% 0.058 255)
-
Step 400
400
#79A3D9
oklch(70.6% 0.092 255)
-
Step 500
500
#568CCF
oklch(63.2% 0.117 254.6)
-
Step 600
600 (this color)
#336DB4
oklch(53.2% 0.127 255)
-
Step 700
700
#2C61A2
oklch(49% 0.119 255.1)
-
Step 800
800
#265083
oklch(42.8% 0.097 254.7)
-
Step 900
900
#244269
oklch(37.6% 0.076 255.7)
-
Step 950
950
#15273E
oklch(27% 0.049 255.2)
#336DB4 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) | #4C72B7 | 0.030 |
| Deuteranopia (no green cones) | #3866B3 | 0.019 |
| Tritanopia (no blue cones) | #007E88 | 0.099 |
| Achromatopsia (no color) | #6C6C6C | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #336DB4
#336DB4
oklch(53.2% 0.127 255)
- #926100
#926100
oklch(53.2% 0.112 74.6)
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 #336DB4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mid Blue #276AB3 ΔE 0.013
- French Blue #436BAD ΔE 0.017
- Flat Blue #3C73A8 ΔE 0.030
- Windows Blue #3778BF ΔE 0.034
- Muted Blue #3B719F ΔE 0.038
- Nice Blue #107AB0 ΔE 0.040
- Ocean Blue #03719C ΔE 0.049
- Dull Blue #49759C ΔE 0.053
Use #336DB4 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.