#4256CB#4256CB
#4256CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.182 H 271.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4256CB |
|---|---|
| RGB | rgb(66, 86, 203) |
| HSL | hsl(231, 57%, 53%) |
| HSV | hsv(231, 67%, 80%) |
| CMYK | cmyk(67.5%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.41, 30.61, -63.11) |
| CIE-LCH | lch(41.41, 70.14, 295.88°) |
| OKLab | oklab(50.68% 0.0034 -0.1818) |
| OKLCH | oklch(50.68% 0.182 271.1) |
| XYZ | xyz(16.3504, 12.1241, 57.9669) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.68
Azul
#1D5DEC
ΔE00 5.04
Iris
#6258C4
ΔE00 5.10
Sapphire
#0F52BA
ΔE00 5.65
Dark Periwinkle
#665FD1
ΔE00 5.98
Electric Blue
#0652FF
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4256CB #CBB742
analogous
#429ACB #4256CB #7342CB
triadic
#4256CB #CB4256 #56CB42
tetradic
#4256CB #CB429A #CBB742 #42CB73
square
#4256CB #CB429A #CBB742 #42CB73
split-complementary
#4256CB #CB7342 #9ACB42
monochromatic
#202C73 #2D3EA3 #4256CB #7281D8 #A2ACE5
Accessibility & contrast
On white
6.13
#4256CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#4256CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4256CB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4256CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4256CB | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4256cb; /* rgb */ color: rgb(66, 86, 203); /* oklch */ color: oklch(50.7% 0.182 271.1);
Tailwind
colors: {
custom: {
50: '#8685dc',
500: '#4256cb',
950: '#000000',
},
}SCSS
$custom: #4256cb; $custom-light: #8685dc; $custom-dark: #000000;
JSON
{
"hex": "#4256cb",
"rgb": {
"r": 66,
"g": 86,
"b": 203
},
"hsl": {
"h": 231.241,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.50679,
"c": 0.18179,
"h": 271.1
},
"luminance": 0.12126
}Semantic roles & 50–950 ramp
primary
#4256CB
secondary
#D2C997
accent
#CA48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83