#064EC5
Closest named color: Blue Blue (#2242C7). oklch(46.7% 0.196 261.1), rgb(6, 78, 197).
Aa
White text reads best on this color (7.23:1).
About this color
#064EC5 is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.196 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.027 away. White text reads best on it, at 7.23:1.
| Hue family | Blues |
| Lightness | medium-dark (47%) |
| Chroma | vivid (0.196) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 2.90:1 |
| White text | 7.23:1 |
Values
| HEX | #064EC5 |
| RGB | rgb(6, 78, 197) |
| HSL | hsl(217, 94%, 40%) |
| OKLCH | oklch(46.7% 0.196 261.1) |
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 #064EC5 | 7.23:1 | AAA | Lc -89.1 | Fine for body text |
| Black text on #064EC5 | 2.90:1 | Fails | Lc 19.9 | Dividers and decoration only |
| #064EC5 text on white | 7.23:1 | AAA | Lc 84.2 | Fine for body text |
| #064EC5 text on black | 2.90:1 | Fails | Lc -17.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 700.
-
Step 50
50
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E0EBFD
oklch(93.7% 0.027 260.3)
-
Step 200
200
#C6DAFD
oklch(88.5% 0.053 261.7)
-
Step 300
300
#9EC1FF
oklch(80.8% 0.096 261.6)
-
Step 400
400
#699FFE
oklch(70.7% 0.151 261)
-
Step 500
500
#4083FD
oklch(63.2% 0.195 261.2)
-
Step 600
600
#1E68EC
oklch(55.5% 0.212 261.1)
-
Step 700
700 (this color)
#064EC5
oklch(46.7% 0.196 261.1)
-
Step 800
800
#1247A6
oklch(42.7% 0.163 261.2)
-
Step 900
900
#163D83
oklch(37.7% 0.126 261)
-
Step 950
950
#0E244D
oklch(26.9% 0.081 261.5)
#064EC5 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) | #005FC9 | 0.042 |
| Deuteranopia (no green cones) | #004FC3 | 0.004 |
| Tritanopia (no blue cones) | #006D82 | 0.149 |
| Achromatopsia (no color) | #575757 | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #064EC5
#064EC5
oklch(46.7% 0.196 261.1)
- #755300
#755300
oklch(46.6% 0.096 81.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 #064EC5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.027
- Majorelle Blue #3F37C9 ΔE 0.058
- Sapphire #2138AB ΔE 0.065
- Azul #1D5DEC ΔE 0.073
- Warm Blue #4B57DB ΔE 0.074
- Blue With A Hint Of Purple #533CC6 ΔE 0.076
- Blurple #5539CC ΔE 0.081
- Vibrant Blue #0339F8 ΔE 0.085
Use #064EC5 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.