#4251D8#4251D8
#4251D8 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.9% C 0.205 H 272.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4251D8 |
|---|---|
| RGB | rgb(66, 81, 216) |
| HSL | hsl(234, 66%, 55%) |
| HSV | hsv(234, 69%, 85%) |
| CMYK | cmyk(69.4%, 62.5%, 0%, 15.3%) |
| CIE-LAB | lab(41.22, 38.26, -70.91) |
| CIE-LCH | lch(41.22, 80.57, 298.35°) |
| OKLab | oklab(50.85% 0.007 -0.2047) |
| OKLCH | oklch(50.85% 0.205 272) |
| XYZ | xyz(17.5797, 11.9993, 66.3421) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.04
Electric Blue
#0652FF
ΔE00 4.65
Blue (survey)
#0343DF
ΔE00 4.72
Azul
#1D5DEC
ΔE00 5.33
Iris
#6258C4
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4251D8 #D8C942
analogous
#429CD8 #4251D8 #7E42D8
triadic
#4251D8 #D84251 #51D842
tetradic
#4251D8 #D8429C #D8C942 #42D87E
square
#4251D8 #D8429C #D8C942 #42D87E
split-complementary
#4251D8 #D87E42 #9CD842
monochromatic
#1B2684 #2634B7 #4251D8 #7580E2 #A7AEED
Accessibility & contrast
On white
6.18
#4251D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4251D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4251D8
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4251D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4251D8 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4251d8; /* rgb */ color: rgb(66, 81, 216); /* oklch */ color: oklch(50.9% 0.205 272.0);
Tailwind
colors: {
custom: {
50: '#8982e5',
500: '#4251d8',
950: '#000000',
},
}SCSS
$custom: #4251d8; $custom-light: #8982e5; $custom-dark: #000000;
JSON
{
"hex": "#4251d8",
"rgb": {
"r": 66,
"g": 81,
"b": 216
},
"hsl": {
"h": 234,
"s": 65.789,
"l": 55.294
},
"oklch": {
"l": 0.50852,
"c": 0.20483,
"h": 272
},
"luminance": 0.12001
}Semantic roles & 50–950 ramp
primary
#4251D8
secondary
#DAD49C
accent
#D83FE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84