#254DC6#254DC6
#254DC6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.194 H 265.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #254DC6 |
|---|---|
| RGB | rgb(37, 77, 198) |
| HSL | hsl(225, 69%, 46%) |
| HSV | hsv(225, 81%, 78%) |
| CMYK | cmyk(81.3%, 61.1%, 0%, 22.4%) |
| CIE-LAB | lab(37.44, 31.22, -66.74) |
| CIE-LCH | lch(37.44, 73.69, 295.07°) |
| OKLab | oklab(47.24% -0.0158 -0.1931) |
| OKLCH | oklch(47.24% 0.194 265.3) |
| XYZ | xyz(13.6063, 9.7767, 54.5851) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 3.59
Blue (survey)
#0343DF
ΔE00 4.16
Cobalt
#0047AB
ΔE00 4.79
Warm Blue
#4B57DB
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254DC6 #C69E25
analogous
#259DC6 #254DC6 #4D25C6
triadic
#254DC6 #C6254D #4DC625
tetradic
#254DC6 #C6259D #C69E25 #25C64D
square
#254DC6 #C6259D #C69E25 #25C64D
split-complementary
#254DC6 #C64D25 #9DC625
monochromatic
#12255F #1B3992 #254DC6 #4B6FDD #7E98E7
Accessibility & contrast
On white
7.11
#254DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#254DC6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254DC6
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254DC6 | 1.00 | 7.11 | 2.96 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #254dc6; /* rgb */ color: rgb(37, 77, 198); /* oklch */ color: oklch(47.2% 0.194 265.3);
Tailwind
colors: {
custom: {
50: '#7b7ed8',
500: '#254dc6',
950: '#000000',
},
}SCSS
$custom: #254dc6; $custom-light: #7b7ed8; $custom-dark: #000000;
JSON
{
"hex": "#254dc6",
"rgb": {
"r": 37,
"g": 77,
"b": 198
},
"hsl": {
"h": 225.093,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.47242,
"c": 0.19376,
"h": 265.3
},
"luminance": 0.09778
}Semantic roles & 50–950 ramp
primary
#254DC6
secondary
#CFB977
accent
#C03CEB
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0915
muted
#7C7B83