#4251C8#4251C8
#4251C8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.184 H 272.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4251C8 |
|---|---|
| RGB | rgb(66, 81, 200) |
| HSL | hsl(233, 55%, 52%) |
| HSV | hsv(233, 67%, 78%) |
| CMYK | cmyk(67%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(39.93, 32.72, -63.78) |
| CIE-LCH | lch(39.93, 71.68, 297.16°) |
| OKLab | oklab(49.51% 0.0074 -0.1838) |
| OKLCH | oklch(49.51% 0.184 272.3) |
| XYZ | xyz(15.6110, 11.2118, 55.9738) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.40
Blue Blue
#2242C7
ΔE00 4.84
Blue (survey)
#0343DF
ΔE00 5.13
Iris
#6258C4
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.78
Sapphire
#0F52BA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4251C8 #C8B942
analogous
#4294C8 #4251C8 #7642C8
triadic
#4251C8 #C84251 #51C842
tetradic
#4251C8 #C84294 #C8B942 #42C876
square
#4251C8 #C84294 #C8B942 #42C876
split-complementary
#4251C8 #C87642 #94C842
monochromatic
#20296F #2E3B9F #4251C8 #717DD6 #A1A8E4
Accessibility & contrast
On white
6.48
#4251C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#4251C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4251C8
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4251C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4251C8 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4251c8; /* rgb */ color: rgb(66, 81, 200); /* oklch */ color: oklch(49.5% 0.184 272.3);
Tailwind
colors: {
custom: {
50: '#8681da',
500: '#4251c8',
950: '#000000',
},
}SCSS
$custom: #4251c8; $custom-light: #8681da; $custom-dark: #000000;
JSON
{
"hex": "#4251c8",
"rgb": {
"r": 66,
"g": 81,
"b": 200
},
"hsl": {
"h": 233.284,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.49509,
"c": 0.18393,
"h": 272.3
},
"luminance": 0.11213
}Semantic roles & 50–950 ramp
primary
#4251C8
secondary
#D0CA96
accent
#CE4ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83