#254CB9#254CB9
#254CB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.178 H 265.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #254CB9 |
|---|---|
| RGB | rgb(37, 76, 185) |
| HSL | hsl(224, 67%, 44%) |
| HSV | hsv(224, 80%, 73%) |
| CMYK | cmyk(80%, 58.9%, 0%, 27.5%) |
| CIE-LAB | lab(36.11, 26.94, -61.31) |
| CIE-LCH | lch(36.11, 66.97, 293.72°) |
| OKLab | oklab(45.91% -0.0155 -0.1772) |
| OKLCH | oklch(45.91% 0.178 265) |
| XYZ | xyz(12.1012, 9.0636, 47.0012) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.93
Cobalt
#0047AB
ΔE00 3.23
Blue Blue
#2242C7
ΔE00 3.88
Blue (survey)
#0343DF
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 6.10
Sapphire (survey)
#2138AB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CB9 #B99225
analogous
#2596B9 #254CB9 #4825B9
triadic
#254CB9 #B9254C #4CB925
tetradic
#254CB9 #B92596 #B99225 #25B948
square
#254CB9 #B92596 #B99225 #25B948
split-complementary
#254CB9 #B94825 #96B925
monochromatic
#112253 #1B3786 #254CB9 #426AD9 #7592E3
Accessibility & contrast
On white
7.47
#254CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#254CB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CB9
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CB9 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #254cb9; /* rgb */ color: rgb(37, 76, 185); /* oklch */ color: oklch(45.9% 0.178 265.0);
Tailwind
colors: {
custom: {
50: '#787dcf',
500: '#254cb9',
950: '#000000',
},
}SCSS
$custom: #254cb9; $custom-light: #787dcf; $custom-dark: #000000;
JSON
{
"hex": "#254cb9",
"rgb": {
"r": 37,
"g": 76,
"b": 185
},
"hsl": {
"h": 224.189,
"s": 66.667,
"l": 43.529
},
"oklch": {
"l": 0.45914,
"c": 0.17788,
"h": 265
},
"luminance": 0.09065
}Semantic roles & 50–950 ramp
primary
#254CB9
secondary
#CBB36F
accent
#BC3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82