#4064D1
Closest named color: Royal Blue (#4169E1). oklch(53.8% 0.173 266.7), rgb(64, 100, 209).
Aa
White text reads best on this color (5.30:1).
About this color
#4064D1 is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.173 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.027 away. White text reads best on it, at 5.30:1.
| Hue family | Blues |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.173) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 3.96:1 |
| White text | 5.30:1 |
Values
| HEX | #4064D1 |
| RGB | rgb(64, 100, 209) |
| HSL | hsl(225, 61%, 54%) |
| OKLCH | oklch(53.8% 0.173 266.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 #4064D1 | 5.30:1 | AA | Lc -81.3 | Fine for body text |
| Black text on #4064D1 | 3.96:1 | AA large text | Lc 28.1 | Dividers and decoration only |
| #4064D1 text on white | 5.30:1 | AA | Lc 76.0 | Fine for body text |
| #4064D1 text on black | 3.96:1 | AA large text | Lc -25.8 | 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 600.
-
Step 50
50
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFA
oklch(93.6% 0.023 266.9)
-
Step 200
200
#CCD9F7
oklch(88.5% 0.044 266.9)
-
Step 300
300
#AAC0F4
oklch(80.9% 0.078 266.8)
-
Step 400
400
#7D9DEF
oklch(70.6% 0.126 267)
-
Step 500
500
#5D83E9
oklch(63.1% 0.159 266.5)
-
Step 600
600 (this color)
#4064D1
oklch(53.8% 0.173 266.7)
-
Step 700
700
#3757BB
oklch(49.1% 0.162 266.9)
-
Step 800
800
#2E4897
oklch(42.7% 0.133 266.9)
-
Step 900
900
#283D78
oklch(37.6% 0.104 266.7)
-
Step 950
950
#182446
oklch(26.9% 0.065 267.3)
#4064D1 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) | #1C72D5 | 0.039 |
| Deuteranopia (no green cones) | #0065CF | 0.036 |
| Tritanopia (no blue cones) | #007E91 | 0.140 |
| Achromatopsia (no color) | #6B6B6B | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #4064D1
#4064D1
oklch(53.8% 0.173 266.7)
- #8A6900
#8A6900
oklch(53.9% 0.11 86.8)
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 #4064D1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.027
- Warm Blue #4B57DB ΔE 0.036
- Neon Blue #4361EE ΔE 0.045
- Dark Periwinkle #665FD1 ΔE 0.048
- Iris #6258C4 ΔE 0.051
- Azul #1D5DEC ΔE 0.053
- Cerulean Blue #056EEE ΔE 0.054
- Mid Blue #276AB3 ΔE 0.056
Use #4064D1 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.