#4256D4#4256D4
#4256D4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.194 H 271.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4256D4 |
|---|---|
| RGB | rgb(66, 86, 212) |
| HSL | hsl(232, 63%, 55%) |
| HSV | hsv(232, 69%, 83%) |
| CMYK | cmyk(68.9%, 59.4%, 0%, 16.9%) |
| CIE-LAB | lab(42.10, 33.76, -67.17) |
| CIE-LCH | lch(42.10, 75.18, 296.69°) |
| OKLab | oklab(51.41% 0.0034 -0.1937) |
| OKLCH | oklch(51.41% 0.194 271) |
| XYZ | xyz(17.4542, 12.5656, 63.7801) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.63
Azul
#1D5DEC
ΔE00 4.36
Electric Blue
#0652FF
ΔE00 4.97
Iris
#6258C4
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.64
Blue (survey)
#0343DF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4256D4 #D4C042
analogous
#429FD4 #4256D4 #7742D4
triadic
#4256D4 #D44256 #56D442
tetradic
#4256D4 #D4429F #D4C042 #42D477
square
#4256D4 #D4429F #D4C042 #42D477
split-complementary
#4256D4 #D47742 #9FD442
monochromatic
#1D2A7F #283BB1 #4256D4 #7483DF #A6AFEB
Accessibility & contrast
On white
5.98
#4256D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#4256D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4256D4
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4256D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4256D4 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4256d4; /* rgb */ color: rgb(66, 86, 212); /* oklch */ color: oklch(51.4% 0.194 271.0);
Tailwind
colors: {
custom: {
50: '#8885e2',
500: '#4256d4',
950: '#000000',
},
}SCSS
$custom: #4256d4; $custom-light: #8885e2; $custom-dark: #000000;
JSON
{
"hex": "#4256d4",
"rgb": {
"r": 66,
"g": 86,
"b": 212
},
"hsl": {
"h": 231.781,
"s": 62.931,
"l": 54.51
},
"oklch": {
"l": 0.51407,
"c": 0.19372,
"h": 271
},
"luminance": 0.12567
}Semantic roles & 50–950 ramp
primary
#4256D4
secondary
#D8CF9A
accent
#CF42E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84