#254EB9#254EB9
#254EB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.175 H 264.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #254EB9 |
|---|---|
| RGB | rgb(37, 78, 185) |
| HSL | hsl(223, 67%, 44%) |
| HSV | hsv(223, 80%, 73%) |
| CMYK | cmyk(80%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(36.64, 25.62, -60.45) |
| CIE-LCH | lch(36.64, 65.65, 292.97°) |
| OKLab | oklab(46.31% -0.0168 -0.1746) |
| OKLCH | oklch(46.31% 0.175 264.5) |
| XYZ | xyz(12.2412, 9.3434, 47.0478) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.34
Cobalt
#0047AB
ΔE00 3.39
Blue Blue
#2242C7
ΔE00 4.49
Blue (survey)
#0343DF
ΔE00 5.86
Cobalt (survey)
#1E488F
ΔE00 6.07
Dusk Blue
#26538D
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254EB9 #B99025
analogous
#2598B9 #254EB9 #4625B9
triadic
#254EB9 #B9254E #4EB925
tetradic
#254EB9 #B92598 #B99025 #25B946
square
#254EB9 #B92598 #B99025 #25B946
split-complementary
#254EB9 #B94625 #98B925
monochromatic
#112353 #1B3886 #254EB9 #426CD9 #7594E3
Accessibility & contrast
On white
7.32
#254EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#254EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254EB9
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254EB9 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #254eb9; /* rgb */ color: rgb(37, 78, 185); /* oklch */ color: oklch(46.3% 0.175 264.5);
Tailwind
colors: {
custom: {
50: '#787fcf',
500: '#254eb9',
950: '#000000',
},
}SCSS
$custom: #254eb9; $custom-light: #787fcf; $custom-dark: #000000;
JSON
{
"hex": "#254eb9",
"rgb": {
"r": 37,
"g": 78,
"b": 185
},
"hsl": {
"h": 223.378,
"s": 66.667,
"l": 43.529
},
"oklch": {
"l": 0.46313,
"c": 0.17544,
"h": 264.5
},
"luminance": 0.09345
}Semantic roles & 50–950 ramp
primary
#254EB9
secondary
#CBB16F
accent
#BA3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82