#4051AC
Closest named color: Blueberry (#464196). oklch(47.2% 0.146 271.7), rgb(64, 81, 172).
Aa
White text reads best on this color (7.02:1).
About this color
#4051AC is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.146 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.051 away. White text reads best on it, at 7.02:1.
| Hue family | Blues |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.146) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.99:1 |
| White text | 7.02:1 |
Values
| HEX | #4051AC |
| RGB | rgb(64, 81, 172) |
| HSL | hsl(231, 46%, 46%) |
| OKLCH | oklch(47.2% 0.146 271.7) |
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 #4051AC | 7.02:1 | AAA | Lc -89.0 | Fine for body text |
| Black text on #4051AC | 2.99:1 | Fails | Lc 20.0 | Dividers and decoration only |
| #4051AC text on white | 7.02:1 | AAA | Lc 84.0 | Fine for body text |
| #4051AC text on black | 2.99:1 | Fails | Lc -17.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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E5E9F8
oklch(93.5% 0.021 274)
-
Step 200
200
#D0D8F4
oklch(88.5% 0.04 272.9)
-
Step 300
300
#B0BFEF
oklch(81% 0.07 271.2)
-
Step 400
400
#889CE7
oklch(70.7% 0.112 271.9)
-
Step 500
500
#6B81E0
oklch(63% 0.145 271.8)
-
Step 600
600
#5469CE
oklch(55.6% 0.157 271.6)
-
Step 700
700 (this color)
#4051AC
oklch(47.2% 0.146 271.7)
-
Step 800
800
#394790
oklch(42.6% 0.121 272.2)
-
Step 900
900
#303D73
oklch(37.8% 0.093 271.1)
-
Step 950
950
#1C2443
oklch(27% 0.059 271.1)
#4051AC 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) | #195EAF | 0.043 |
| Deuteranopia (no green cones) | #0054AA | 0.045 |
| Tritanopia (no blue cones) | #006676 | 0.125 |
| Achromatopsia (no color) | #595959 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4051AC
#4051AC
oklch(47.2% 0.146 271.7)
- #6F5900
#6F5900
oklch(47.3% 0.097 92.1)
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 #4051AC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.051
- Denim Blue #3B5B92 ΔE 0.054
- Twilight #4E518B ΔE 0.056
- Dusk Blue #26538D ΔE 0.060
- Dusky Blue #475F94 ΔE 0.060
- Iris #6258C4 ΔE 0.066
- Blue With A Hint Of Purple #533CC6 ΔE 0.066
- Mid Blue #276AB3 ΔE 0.067
Use #4051AC 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.