#4256C7#4256C7
#4256C7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.176 H 271.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4256C7 |
|---|---|
| RGB | rgb(66, 86, 199) |
| HSL | hsl(231, 54%, 52%) |
| HSV | hsv(231, 67%, 78%) |
| CMYK | cmyk(66.8%, 56.8%, 0%, 22%) |
| CIE-LAB | lab(41.11, 29.20, -61.28) |
| CIE-LCH | lch(41.11, 67.88, 295.48°) |
| OKLab | oklab(50.36% 0.0033 -0.1764) |
| OKLCH | oklch(50.36% 0.176 271.1) |
| XYZ | xyz(15.8799, 11.9359, 55.4887) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.18
Iris
#6258C4
ΔE00 5.16
Sapphire
#0F52BA
ΔE00 5.34
Azul
#1D5DEC
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 6.19
Dark Periwinkle
#665FD1
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4256C7 #C7B342
analogous
#4299C7 #4256C7 #7042C7
triadic
#4256C7 #C74256 #56C742
tetradic
#4256C7 #C74299 #C7B342 #42C770
square
#4256C7 #C74299 #C7B342 #42C770
split-complementary
#4256C7 #C77042 #99C742
monochromatic
#212C6E #2F3F9D #4256C7 #7180D5 #A0AAE3
Accessibility & contrast
On white
6.20
#4256C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#4256C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4256C7
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4256C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4256C7 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4256c7; /* rgb */ color: rgb(66, 86, 199); /* oklch */ color: oklch(50.4% 0.176 271.1);
Tailwind
colors: {
custom: {
50: '#8585d9',
500: '#4256c7',
950: '#000000',
},
}SCSS
$custom: #4256c7; $custom-light: #8585d9; $custom-dark: #000000;
JSON
{
"hex": "#4256c7",
"rgb": {
"r": 66,
"g": 86,
"b": 199
},
"hsl": {
"h": 230.977,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.50362,
"c": 0.17641,
"h": 271.1
},
"luminance": 0.11937
}Semantic roles & 50–950 ramp
primary
#4256C7
secondary
#D0C795
accent
#C74ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83