#4254BA#4254BA
#4254BA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.161 H 271.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4254BA |
|---|---|
| RGB | rgb(66, 84, 186) |
| HSL | hsl(231, 48%, 49%) |
| HSV | hsv(231, 65%, 73%) |
| CMYK | cmyk(64.5%, 54.8%, 0%, 27.1%) |
| CIE-LAB | lab(39.65, 25.91, -56.08) |
| CIE-LCH | lch(39.65, 61.77, 294.80°) |
| OKLab | oklab(48.97% 0.0045 -0.1611) |
| OKLCH | oklch(48.97% 0.161 271.6) |
| XYZ | xyz(14.2770, 11.0428, 47.8239) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.78
Warm Blue
#4B57DB
ΔE00 4.92
Iris
#6258C4
ΔE00 5.61
Blue Blue
#2242C7
ΔE00 5.88
Ocean Blue
#4F42B5
ΔE00 6.53
Cobalt
#0047AB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4254BA #BAA842
analogous
#4290BA #4254BA #6C42BA
triadic
#4254BA #BA4254 #54BA42
tetradic
#4254BA #BA4290 #BAA842 #42BA6C
square
#4254BA #BA4290 #BAA842 #42BA6C
split-complementary
#4254BA #BA6C42 #90BA42
monochromatic
#222B60 #32408D #4254BA #6E7CCB #9BA5DB
Accessibility & contrast
On white
6.54
#4254BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#4254BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4254BA
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4254BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4254BA | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0363BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4254ba; /* rgb */ color: rgb(66, 84, 186); /* oklch */ color: oklch(49.0% 0.161 271.6);
Tailwind
colors: {
custom: {
50: '#8383cf',
500: '#4254ba',
950: '#000000',
},
}SCSS
$custom: #4254ba; $custom-light: #8383cf; $custom-dark: #000000;
JSON
{
"hex": "#4254ba",
"rgb": {
"r": 66,
"g": 84,
"b": 186
},
"hsl": {
"h": 231,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.48969,
"c": 0.16116,
"h": 271.6
},
"luminance": 0.11044
}Semantic roles & 50–950 ramp
primary
#4254BA
secondary
#C8BF90
accent
#C351D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82