#335BD2
Closest named color: Warm Blue (#4B57DB). oklch(51.5% 0.189 265.8), rgb(51, 91, 210).
Aa
White text reads best on this color (5.88:1).
About this color
#335BD2 is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.189 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.030 away. White text reads best on it, at 5.88:1.
| Hue family | Blues |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.189) |
| Temperature | cool |
| Nearest name | Warm Blue (#4B57DB) |
| Black text | 3.56:1 |
| White text | 5.88:1 |
Values
| HEX | #335BD2 |
| RGB | rgb(51, 91, 210) |
| HSL | hsl(225, 64%, 51%) |
| OKLCH | oklch(51.5% 0.189 265.8) |
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 #335BD2 | 5.88:1 | AA | Lc -84.1 | Fine for body text |
| Black text on #335BD2 | 3.56:1 | AA large text | Lc 25.2 | Dividers and decoration only |
| #335BD2 text on white | 5.88:1 | AA | Lc 78.9 | Fine for body text |
| #335BD2 text on black | 3.56:1 | AA large text | Lc -22.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 700.
-
Step 50
50
#F1F5FE
oklch(97% 0.013 266.7)
-
Step 100
100
#E1EAFC
oklch(93.6% 0.026 264.4)
-
Step 200
200
#C9D9FC
oklch(88.5% 0.051 265.9)
-
Step 300
300
#A5C0FD
oklch(81% 0.092 265.9)
-
Step 400
400
#759CFC
oklch(70.6% 0.147 266)
-
Step 500
500
#5380F9
oklch(63.1% 0.187 265.9)
-
Step 600
600
#3A66E8
oklch(55.6% 0.203 265.8)
-
Step 700
700 (this color)
#335BD2
oklch(51.5% 0.189 265.8)
-
Step 800
800
#2645A3
oklch(42.7% 0.156 266)
-
Step 900
900
#223B81
oklch(37.6% 0.122 265.9)
-
Step 950
950
#14234C
oklch(26.9% 0.078 266.1)
#335BD2 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) | #006CD6 | 0.044 |
| Deuteranopia (no green cones) | #005DD0 | 0.026 |
| Tritanopia (no blue cones) | #00798D | 0.150 |
| Achromatopsia (no color) | #646464 | 0.190 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #335BD2
#335BD2
oklch(51.5% 0.189 265.8)
- #826200
#826200
oklch(51.5% 0.105 86.2)
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 #335BD2, closest first.
No curated palette has a color within ΔE 0.04 of #335BD2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Blue #4B57DB ΔE 0.030
- Azul #1D5DEC ΔE 0.042
- Royal Blue #4169E1 ΔE 0.045
- Neon Blue #4361EE ΔE 0.049
- Cerulean Blue #056EEE ΔE 0.061
- Iris #6258C4 ΔE 0.061
- Blue Blue #2242C7 ΔE 0.065
- Dark Periwinkle #665FD1 ΔE 0.066
Use #335BD2 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.