#254FC6#254FC6
#254FC6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.191 H 264.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #254FC6 |
|---|---|
| RGB | rgb(37, 79, 198) |
| HSL | hsl(224, 69%, 46%) |
| HSV | hsv(224, 81%, 78%) |
| CMYK | cmyk(81.3%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(37.95, 29.92, -65.91) |
| CIE-LCH | lch(37.95, 72.38, 294.42°) |
| OKLab | oklab(47.62% -0.0169 -0.1906) |
| OKLCH | oklch(47.62% 0.191 264.9) |
| XYZ | xyz(13.7484, 10.0608, 54.6325) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.14
Blue Blue
#2242C7
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.63
Cobalt
#0047AB
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.64
Azul
#1D5DEC
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FC6 #C69C25
analogous
#259FC6 #254FC6 #4B25C6
triadic
#254FC6 #C6254F #4FC625
tetradic
#254FC6 #C6259F #C69C25 #25C64B
square
#254FC6 #C6259F #C69C25 #25C64B
split-complementary
#254FC6 #C64B25 #9FC625
monochromatic
#12265F #1B3A92 #254FC6 #4B71DD #7E9AE7
Accessibility & contrast
On white
6.97
#254FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#254FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #254FC6
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FC6 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #254fc6; /* rgb */ color: rgb(37, 79, 198); /* oklch */ color: oklch(47.6% 0.191 264.9);
Tailwind
colors: {
custom: {
50: '#7b7fd8',
500: '#254fc6',
950: '#000000',
},
}SCSS
$custom: #254fc6; $custom-light: #7b7fd8; $custom-dark: #000000;
JSON
{
"hex": "#254fc6",
"rgb": {
"r": 37,
"g": 79,
"b": 198
},
"hsl": {
"h": 224.348,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.47624,
"c": 0.19138,
"h": 264.9
},
"luminance": 0.10062
}Semantic roles & 50–950 ramp
primary
#254FC6
secondary
#CFB877
accent
#BE3CEB
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A15
muted
#7C7C83