#4051B5
Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47.9% 0.159 271.8), rgb(64, 81, 181).
Aa
White text reads best on this color (6.85:1).
About this color
#4051B5 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.159 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.057 away. White text reads best on it, at 6.85:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | vivid (0.159) |
| Temperature | cool |
| Nearest name | Blue With A Hint Of Purple (#533CC6) |
| Black text | 3.06:1 |
| White text | 6.85:1 |
Values
| HEX | #4051B5 |
| RGB | rgb(64, 81, 181) |
| HSL | hsl(231, 48%, 48%) |
| OKLCH | oklch(47.9% 0.159 271.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 #4051B5 | 6.85:1 | AA | Lc -88.3 | Fine for body text |
| Black text on #4051B5 | 3.06:1 | AA large text | Lc 20.7 | Dividers and decoration only |
| #4051B5 text on white | 6.85:1 | AA | Lc 83.3 | Fine for body text |
| #4051B5 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9F9
oklch(93.5% 0.022 272.1)
-
Step 200
200
#CFD8F6
oklch(88.5% 0.042 272.3)
-
Step 300
300
#AFBEF3
oklch(80.9% 0.077 272.3)
-
Step 400
400
#869BED
oklch(70.7% 0.123 272)
-
Step 500
500
#6980E7
oklch(63.1% 0.156 271.8)
-
Step 600
600
#5267D5
oklch(55.6% 0.17 271.7)
-
Step 700
700 (this color)
#4051B5
oklch(47.9% 0.159 271.8)
-
Step 800
800
#374696
oklch(42.7% 0.132 271.7)
-
Step 900
900
#2F3C77
oklch(37.8% 0.101 271.4)
-
Step 950
950
#1B2346
oklch(26.9% 0.066 271.6)
#4051B5 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) | #0060B8 | 0.051 |
| Deuteranopia (no green cones) | #0055B3 | 0.044 |
| Tritanopia (no blue cones) | #00697B | 0.133 |
| Achromatopsia (no color) | #5A5A5A | 0.159 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4051B5
#4051B5
oklch(47.9% 0.159 271.8)
- #715B00
#715B00
oklch(47.9% 0.098 92.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 #4051B5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue With A Hint Of Purple #533CC6 ΔE 0.057
- Iris #6258C4 ΔE 0.059
- Blue Blue #2242C7 ΔE 0.059
- Blueberry #464196 ΔE 0.061
- Warm Blue #4B57DB ΔE 0.063
- Majorelle Blue #3F37C9 ΔE 0.064
- Bluey Purple #6241C7 ΔE 0.065
- Blurple #5539CC ΔE 0.066
Use #4051B5 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.