#4251CF#4251CF
#4251CF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.193 H 272.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4251CF |
|---|---|
| RGB | rgb(66, 81, 207) |
| HSL | hsl(234, 59%, 54%) |
| HSV | hsv(234, 68%, 81%) |
| CMYK | cmyk(68.1%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(40.49, 35.16, -66.93) |
| CIE-LCH | lch(40.49, 75.60, 297.71°) |
| OKLab | oklab(50.09% 0.0073 -0.193) |
| OKLCH | oklch(50.09% 0.193 272.2) |
| XYZ | xyz(16.4479, 11.5465, 60.3813) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.69
Blue (survey)
#0343DF
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.05
Iris
#6258C4
ΔE00 5.14
Electric Blue
#0652FF
ΔE00 5.66
Azul
#1D5DEC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4251CF #CFC042
analogous
#4297CF #4251CF #7942CF
triadic
#4251CF #CF4251 #51CF42
tetradic
#4251CF #CF4297 #CFC042 #42CF79
square
#4251CF #CF4297 #CFC042 #42CF79
split-complementary
#4251CF #CF7942 #97CF42
monochromatic
#1F2878 #2B38A9 #4251CF #737EDB #A4ABE8
Accessibility & contrast
On white
6.35
#4251CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#4251CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4251CF
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4251CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4251CF | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4251cf; /* rgb */ color: rgb(66, 81, 207); /* oklch */ color: oklch(50.1% 0.193 272.2);
Tailwind
colors: {
custom: {
50: '#8781df',
500: '#4251cf',
950: '#000000',
},
}SCSS
$custom: #4251cf; $custom-light: #8781df; $custom-dark: #000000;
JSON
{
"hex": "#4251cf",
"rgb": {
"r": 66,
"g": 81,
"b": 207
},
"hsl": {
"h": 233.617,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.50089,
"c": 0.19317,
"h": 272.2
},
"luminance": 0.11548
}Semantic roles & 50–950 ramp
primary
#4251CF
secondary
#D5CE98
accent
#D245E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83