#4256C6#4256C6
#4256C6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.175 H 271.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4256C6 |
|---|---|
| RGB | rgb(66, 86, 198) |
| HSL | hsl(231, 54%, 52%) |
| HSV | hsv(231, 67%, 78%) |
| CMYK | cmyk(66.7%, 56.6%, 0%, 22.4%) |
| CIE-LAB | lab(41.04, 28.85, -60.82) |
| CIE-LCH | lch(41.04, 67.32, 295.38°) |
| OKLab | oklab(50.28% 0.0032 -0.175) |
| OKLCH | oklch(50.28% 0.175 271.1) |
| XYZ | xyz(15.7642, 11.8896, 54.8793) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.31
Iris
#6258C4
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.27
Azul
#1D5DEC
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 6.19
Dark Periwinkle
#665FD1
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4256C6 #C6B242
analogous
#4298C6 #4256C6 #7042C6
triadic
#4256C6 #C64256 #56C642
tetradic
#4256C6 #C64298 #C6B242 #42C670
square
#4256C6 #C64298 #C6B242 #42C670
split-complementary
#4256C6 #C67042 #98C642
monochromatic
#212C6D #2F3F9C #4256C6 #7180D4 #A0AAE2
Accessibility & contrast
On white
6.22
#4256C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4256C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4256C6
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4256C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4256C6 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4256c6; /* rgb */ color: rgb(66, 86, 198); /* oklch */ color: oklch(50.3% 0.175 271.1);
Tailwind
colors: {
custom: {
50: '#8585d8',
500: '#4256c6',
950: '#000000',
},
}SCSS
$custom: #4256c6; $custom-light: #8585d8; $custom-dark: #000000;
JSON
{
"hex": "#4256c6",
"rgb": {
"r": 66,
"g": 86,
"b": 198
},
"hsl": {
"h": 230.909,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.50284,
"c": 0.17506,
"h": 271.1
},
"luminance": 0.11891
}Semantic roles & 50–950 ramp
primary
#4256C6
secondary
#CFC695
accent
#C74BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83