#4254CF#4254CF
#4254CF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.190 H 271.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4254CF |
|---|---|
| RGB | rgb(66, 84, 207) |
| HSL | hsl(232, 59%, 54%) |
| HSV | hsv(232, 68%, 81%) |
| CMYK | cmyk(68.1%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.22, 33.27, -65.73) |
| CIE-LCH | lch(41.22, 73.67, 296.85°) |
| OKLab | oklab(50.63% 0.005 -0.1895) |
| OKLCH | oklch(50.63% 0.19 271.5) |
| XYZ | xyz(16.6758, 12.0023, 60.4572) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.27
Iris
#6258C4
ΔE00 5.05
Azul
#1D5DEC
ΔE00 5.14
Blue (survey)
#0343DF
ΔE00 5.51
Electric Blue
#0652FF
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4254CF #CFBD42
analogous
#429BCF #4254CF #7642CF
triadic
#4254CF #CF4254 #54CF42
tetradic
#4254CF #CF429B #CFBD42 #42CF76
square
#4254CF #CF429B #CFBD42 #42CF76
split-complementary
#4254CF #CF7642 #9BCF42
monochromatic
#1F2A78 #2B3BA9 #4254CF #7380DB #A4ACE8
Accessibility & contrast
On white
6.18
#4254CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4254CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4254CF
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4254CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4254CF | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4254cf; /* rgb */ color: rgb(66, 84, 207); /* oklch */ color: oklch(50.6% 0.190 271.5);
Tailwind
colors: {
custom: {
50: '#8784df',
500: '#4254cf',
950: '#000000',
},
}SCSS
$custom: #4254cf; $custom-light: #8784df; $custom-dark: #000000;
JSON
{
"hex": "#4254cf",
"rgb": {
"r": 66,
"g": 84,
"b": 207
},
"hsl": {
"h": 232.34,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.50632,
"c": 0.18955,
"h": 271.5
},
"luminance": 0.12004
}Semantic roles & 50–950 ramp
primary
#4254CF
secondary
#D5CD98
accent
#CF45E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83