#4251BF#4251BF
#4251BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.172 H 272.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4251BF |
|---|---|
| RGB | rgb(66, 81, 191) |
| HSL | hsl(233, 49%, 50%) |
| HSV | hsv(233, 65%, 75%) |
| CMYK | cmyk(65.4%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(39.25, 29.58, -59.66) |
| CIE-LCH | lch(39.25, 66.59, 296.38°) |
| OKLab | oklab(48.78% 0.0074 -0.1717) |
| OKLCH | oklch(48.78% 0.172 272.5) |
| XYZ | xyz(14.5900, 10.8034, 50.5965) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.45
Blue Blue
#2242C7
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 5.29
Iris
#6258C4
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.55
Blue (survey)
#0343DF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4251BF #BFB042
analogous
#428FBF #4251BF #7142BF
triadic
#4251BF #BF4251 #51BF42
tetradic
#4251BF #BF428F #BFB042 #42BF71
square
#4251BF #BF428F #BFB042 #42BF71
split-complementary
#4251BF #BF7142 #8FBF42
monochromatic
#222A65 #323D92 #4251BF #707BCE #9DA5DE
Accessibility & contrast
On white
6.64
#4251BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#4251BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4251BF
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4251BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4251BF | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4251bf; /* rgb */ color: rgb(66, 81, 191); /* oklch */ color: oklch(48.8% 0.172 272.5);
Tailwind
colors: {
custom: {
50: '#8481d3',
500: '#4251bf',
950: '#000000',
},
}SCSS
$custom: #4251bf; $custom-light: #8481d3; $custom-dark: #000000;
JSON
{
"hex": "#4251bf",
"rgb": {
"r": 66,
"g": 81,
"b": 191
},
"hsl": {
"h": 232.8,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.48782,
"c": 0.17183,
"h": 272.5
},
"luminance": 0.10805
}Semantic roles & 50–950 ramp
primary
#4251BF
secondary
#CAC493
accent
#C84FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83