#4256CE#4256CE
#4256CE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.186 H 271.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4256CE |
|---|---|
| RGB | rgb(66, 86, 206) |
| HSL | hsl(231, 59%, 53%) |
| HSV | hsv(231, 68%, 81%) |
| CMYK | cmyk(68%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(41.64, 31.66, -64.47) |
| CIE-LCH | lch(41.64, 71.82, 296.16°) |
| OKLab | oklab(50.92% 0.0034 -0.1858) |
| OKLCH | oklch(50.92% 0.186 271) |
| XYZ | xyz(16.7114, 12.2685, 59.8679) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.31
Azul
#1D5DEC
ΔE00 4.79
Iris
#6258C4
ΔE00 5.09
Electric Blue
#0652FF
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 5.84
Sapphire
#0F52BA
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4256CE #CEBA42
analogous
#429CCE #4256CE #7442CE
triadic
#4256CE #CE4256 #56CE42
tetradic
#4256CE #CE429C #CEBA42 #42CE74
square
#4256CE #CE429C #CEBA42 #42CE74
split-complementary
#4256CE #CE7442 #9CCE42
monochromatic
#1F2B77 #2B3DA7 #4256CE #7381DB #A3ADE7
Accessibility & contrast
On white
6.08
#4256CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#4256CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4256CE
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4256CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4256CE | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4256ce; /* rgb */ color: rgb(66, 86, 206); /* oklch */ color: oklch(50.9% 0.186 271.0);
Tailwind
colors: {
custom: {
50: '#8785de',
500: '#4256ce',
950: '#000000',
},
}SCSS
$custom: #4256ce; $custom-light: #8785de; $custom-dark: #000000;
JSON
{
"hex": "#4256ce",
"rgb": {
"r": 66,
"g": 86,
"b": 206
},
"hsl": {
"h": 231.429,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.5092,
"c": 0.18579,
"h": 271
},
"luminance": 0.1227
}Semantic roles & 50–950 ramp
primary
#4256CE
secondary
#D4CB98
accent
#CC46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83