#4054DC
Closest named color: Warm Blue (#4B57DB). oklch(51.6% 0.207 270.7), rgb(64, 84, 220).
Aa
White text reads best on this color (5.96:1).
About this color
#4054DC is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.207 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.016 away. White text reads best on it, at 5.96:1.
| Hue family | Blues |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.207) |
| Temperature | cool |
| Nearest name | Warm Blue (#4B57DB) |
| Black text | 3.51:1 |
| White text | 5.96:1 |
Values
| HEX | #4054DC |
| RGB | rgb(64, 84, 220) |
| HSL | hsl(232, 69%, 56%) |
| OKLCH | oklch(51.6% 0.207 270.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 #4054DC | 5.96:1 | AA | Lc -84.5 | Fine for body text |
| Black text on #4054DC | 3.51:1 | AA large text | Lc 24.8 | Dividers and decoration only |
| #4054DC text on white | 5.96:1 | AA | Lc 79.2 | Fine for body text |
| #4054DC text on black | 3.51:1 | AA large text | Lc -22.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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2E9FE
oklch(93.5% 0.029 271.1)
-
Step 200
200
#CBD8FF
oklch(88.5% 0.056 270.7)
-
Step 300
300
#A9BEFF
oklch(80.9% 0.095 270.4)
-
Step 400
400
#7E99FF
oklch(70.7% 0.152 270.9)
-
Step 500
500
#5F7BFF
oklch(63.1% 0.198 270.7)
-
Step 600
600
#485EF3
oklch(55.7% 0.223 270.8)
-
Step 700
700 (this color)
#4054DC
oklch(51.6% 0.207 270.7)
-
Step 800
800
#303FAB
oklch(42.7% 0.172 271)
-
Step 900
900
#293887
oklch(37.8% 0.133 270.6)
-
Step 950
950
#18214F
oklch(26.9% 0.085 271.3)
#4054DC 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) | #006BE0 | 0.058 |
| Deuteranopia (no green cones) | #005CD9 | 0.040 |
| Tritanopia (no blue cones) | #007790 | 0.166 |
| Achromatopsia (no color) | #636363 | 0.208 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4054DC
#4054DC
oklch(51.6% 0.207 270.7)
- #7F6400
#7F6400
oklch(51.6% 0.105 90.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 #4054DC, closest first.
No curated palette has a color within ΔE 0.04 of #4054DC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Blue #4B57DB ΔE 0.016
- Azul #1D5DEC ΔE 0.039
- Neon Blue #4361EE ΔE 0.041
- Royal Blue #4169E1 ΔE 0.050
- Iris #6258C4 ΔE 0.061
- Blurple #5539CC ΔE 0.063
- Blue With A Hint Of Purple #533CC6 ΔE 0.063
- Dark Periwinkle #665FD1 ΔE 0.063
Use #4054DC 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.