#254DC9#254DC9
#254DC9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.198 H 265.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #254DC9 |
|---|---|
| RGB | rgb(37, 77, 201) |
| HSL | hsl(225, 69%, 47%) |
| HSV | hsv(225, 82%, 79%) |
| CMYK | cmyk(81.6%, 61.7%, 0%, 21.2%) |
| CIE-LAB | lab(37.69, 32.35, -68.07) |
| CIE-LCH | lch(37.69, 75.37, 295.42°) |
| OKLab | oklab(47.51% -0.0158 -0.197) |
| OKLCH | oklch(47.51% 0.198 265.4) |
| XYZ | xyz(13.9557, 9.9164, 56.4255) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.35
Blue (survey)
#0343DF
ΔE00 3.85
Sapphire
#0F52BA
ΔE00 3.88
Cobalt
#0047AB
ΔE00 5.16
Warm Blue
#4B57DB
ΔE00 5.51
Azul
#1D5DEC
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254DC9 #C9A125
analogous
#259FC9 #254DC9 #4F25C9
triadic
#254DC9 #C9254D #4DC925
tetradic
#254DC9 #C9259F #C9A125 #25C94F
square
#254DC9 #C9259F #C9A125 #25C94F
split-complementary
#254DC9 #C94F25 #9FC925
monochromatic
#122562 #1B3995 #254DC9 #4D70DE #819AE8
Accessibility & contrast
On white
7.04
#254DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#254DC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254DC9
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254DC9 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #254dc9; /* rgb */ color: rgb(37, 77, 201); /* oklch */ color: oklch(47.5% 0.198 265.4);
Tailwind
colors: {
custom: {
50: '#7c7eda',
500: '#254dc9',
950: '#000000',
},
}SCSS
$custom: #254dc9; $custom-light: #7c7eda; $custom-dark: #000000;
JSON
{
"hex": "#254dc9",
"rgb": {
"r": 37,
"g": 77,
"b": 201
},
"hsl": {
"h": 225.366,
"s": 68.908,
"l": 46.667
},
"oklch": {
"l": 0.47508,
"c": 0.19764,
"h": 265.4
},
"luminance": 0.09918
}Semantic roles & 50–950 ramp
primary
#254DC9
secondary
#D0BB79
accent
#C13CEC
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0915
muted
#7C7B83