#3152D1
Closest named color: Warm Blue (#4B57DB). oklch(49.6% 0.199 267.3), rgb(49, 82, 209).
Aa
White text reads best on this color (6.44:1).
About this color
#3152D1 is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.199 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.037 away. White text reads best on it, at 6.44:1.
| Hue family | Blues |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.199) |
| Temperature | cool |
| Nearest name | Warm Blue (#4B57DB) |
| Black text | 3.25:1 |
| White text | 6.44:1 |
Values
| HEX | #3152D1 |
| RGB | rgb(49, 82, 209) |
| HSL | hsl(228, 63%, 51%) |
| OKLCH | oklch(49.6% 0.199 267.3) |
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 #3152D1 | 6.44:1 | AA | Lc -86.5 | Fine for body text |
| Black text on #3152D1 | 3.25:1 | AA large text | Lc 22.7 | Dividers and decoration only |
| #3152D1 text on white | 6.44:1 | AA | Lc 81.4 | Fine for body text |
| #3152D1 text on black | 3.25:1 | AA large text | Lc -20.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
#F1F5FE
oklch(97% 0.013 266.7)
-
Step 100
100
#E1EAFD
oklch(93.6% 0.028 265.4)
-
Step 200
200
#C9D9FE
oklch(88.5% 0.054 266.8)
-
Step 300
300
#A5BFFF
oklch(80.9% 0.095 267.2)
-
Step 400
400
#769BFF
oklch(70.7% 0.152 267.2)
-
Step 500
500
#557EFF
oklch(63.2% 0.197 267.3)
-
Step 600
600
#3D63EE
oklch(55.7% 0.213 267.3)
-
Step 700
700 (this color)
#3152D1
oklch(49.6% 0.199 267.3)
-
Step 800
800
#2843A7
oklch(42.7% 0.164 267.3)
-
Step 900
900
#233A85
oklch(37.7% 0.129 267.1)
-
Step 950
950
#15234E
oklch(27.1% 0.081 267.2)
#3152D1 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) | #0066D5 | 0.049 |
| Deuteranopia (no green cones) | #0057CF | 0.026 |
| Tritanopia (no blue cones) | #00738A | 0.156 |
| Achromatopsia (no color) | #5E5E5E | 0.200 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #3152D1
#3152D1
oklch(49.6% 0.199 267.3)
- #7B5D00
#7B5D00
oklch(49.5% 0.101 86.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 #3152D1, closest first.
No curated palette has a color within ΔE 0.04 of #3152D1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Blue #4B57DB ΔE 0.037
- Blue Blue #2242C7 ΔE 0.045
- Azul #1D5DEC ΔE 0.048
- Majorelle Blue #3F37C9 ΔE 0.056
- Blue With A Hint Of Purple #533CC6 ΔE 0.060
- Neon Blue #4361EE ΔE 0.062
- Blurple #5539CC ΔE 0.063
- Royal Blue #4169E1 ΔE 0.065
Use #3152D1 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.