#254FB9#254FB9
#254FB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.174 H 264.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #254FB9 |
|---|---|
| RGB | rgb(37, 79, 185) |
| HSL | hsl(223, 67%, 44%) |
| HSV | hsv(223, 80%, 73%) |
| CMYK | cmyk(80%, 57.3%, 0%, 27.5%) |
| CIE-LAB | lab(36.90, 24.96, -60.01) |
| CIE-LCH | lch(36.90, 64.99, 292.58°) |
| OKLab | oklab(46.51% -0.0174 -0.1733) |
| OKLCH | oklch(46.51% 0.174 264.3) |
| XYZ | xyz(12.3128, 9.4866, 47.0717) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.06
Cobalt
#0047AB
ΔE00 3.51
Blue Blue
#2242C7
ΔE00 4.80
Blue (survey)
#0343DF
ΔE00 6.07
Cobalt (survey)
#1E488F
ΔE00 6.09
Dusk Blue
#26538D
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FB9 #B98F25
analogous
#2599B9 #254FB9 #4525B9
triadic
#254FB9 #B9254F #4FB925
tetradic
#254FB9 #B92599 #B98F25 #25B945
square
#254FB9 #B92599 #B98F25 #25B945
split-complementary
#254FB9 #B94525 #99B925
monochromatic
#112353 #1B3986 #254FB9 #426DD9 #7594E3
Accessibility & contrast
On white
7.25
#254FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#254FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254FB9
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FB9 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #254fb9; /* rgb */ color: rgb(37, 79, 185); /* oklch */ color: oklch(46.5% 0.174 264.3);
Tailwind
colors: {
custom: {
50: '#787fcf',
500: '#254fb9',
950: '#000000',
},
}SCSS
$custom: #254fb9; $custom-light: #787fcf; $custom-dark: #000000;
JSON
{
"hex": "#254fb9",
"rgb": {
"r": 37,
"g": 79,
"b": 185
},
"hsl": {
"h": 222.973,
"s": 66.667,
"l": 43.529
},
"oklch": {
"l": 0.46513,
"c": 0.17421,
"h": 264.3
},
"luminance": 0.09488
}Semantic roles & 50–950 ramp
primary
#254FB9
secondary
#CBB16F
accent
#B93EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82