#4052B2
Closest named color: Blueberry (#464196). oklch(47.8% 0.153 271.4), rgb(64, 82, 178).
Aa
White text reads best on this color (6.84:1).
About this color
#4052B2 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.153 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.059 away. White text reads best on it, at 6.84:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.153) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 3.06:1 |
| White text | 6.84:1 |
Values
| HEX | #4052B2 |
| RGB | rgb(64, 82, 178) |
| HSL | hsl(231, 47%, 47%) |
| OKLCH | oklch(47.8% 0.153 271.4) |
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 #4052B2 | 6.84:1 | AA | Lc -88.3 | Fine for body text |
| Black text on #4052B2 | 3.06:1 | AA large text | Lc 20.7 | Dividers and decoration only |
| #4052B2 text on white | 6.84:1 | AA | Lc 83.3 | Fine for body text |
| #4052B2 text on black | 3.06:1 | AA large text | Lc -18.6 | 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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E4E9F9
oklch(93.5% 0.022 272.1)
-
Step 200
200
#CFD8F5
oklch(88.4% 0.041 271.9)
-
Step 300
300
#AFBFF1
oklch(81% 0.073 270.9)
-
Step 400
400
#869CEB
oklch(70.8% 0.119 271.3)
-
Step 500
500
#6981E4
oklch(63.1% 0.151 271.3)
-
Step 600
600
#5268D2
oklch(55.6% 0.164 271.3)
-
Step 700
700 (this color)
#4052B2
oklch(47.8% 0.153 271.4)
-
Step 800
800
#374793
oklch(42.7% 0.126 271.2)
-
Step 900
900
#2F3C75
oklch(37.6% 0.098 271.3)
-
Step 950
950
#1C2445
oklch(27.1% 0.062 271.5)
#4052B2 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) | #1160B5 | 0.046 |
| Deuteranopia (no green cones) | #0056B0 | 0.044 |
| Tritanopia (no blue cones) | #00697A | 0.129 |
| Achromatopsia (no color) | #5A5A5A | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4052B2
#4052B2
oklch(47.8% 0.153 271.4)
- #715A00
#715A00
oklch(47.7% 0.098 91.4)
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 #4052B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.059
- Iris #6258C4 ΔE 0.060
- Denim Blue #3B5B92 ΔE 0.061
- Blue With A Hint Of Purple #533CC6 ΔE 0.061
- Blue Blue #2242C7 ΔE 0.063
- Mid Blue #276AB3 ΔE 0.064
- Twilight #4E518B ΔE 0.065
- Dusky Blue #475F94 ΔE 0.065
Use #4052B2 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.