#254EB5#254EB5
#254EB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.170 H 264.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #254EB5 |
|---|---|
| RGB | rgb(37, 78, 181) |
| HSL | hsl(223, 66%, 43%) |
| HSV | hsv(223, 80%, 71%) |
| CMYK | cmyk(79.6%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(36.32, 24.08, -58.60) |
| CIE-LCH | lch(36.32, 63.36, 292.34°) |
| OKLab | oklab(45.98% -0.017 -0.1692) |
| OKLCH | oklch(45.98% 0.17 264.3) |
| XYZ | xyz(11.8249, 9.1769, 44.8552) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.22
Cobalt
#0047AB
ΔE00 3.03
Blue Blue
#2242C7
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.54
Dusk Blue
#26538D
ΔE00 6.07
Blue (survey)
#0343DF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254EB5 #B58C25
analogous
#2596B5 #254EB5 #4425B5
triadic
#254EB5 #B5254E #4EB525
tetradic
#254EB5 #B52596 #B58C25 #25B544
square
#254EB5 #B52596 #B58C25 #25B544
split-complementary
#254EB5 #B54425 #96B525
monochromatic
#10224F #1B3882 #254EB5 #3F6BD8 #7292E2
Accessibility & contrast
On white
7.41
#254EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#254EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254EB5
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254EB5 | 1.00 | 7.41 | 2.84 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #254eb5; /* rgb */ color: rgb(37, 78, 181); /* oklch */ color: oklch(46.0% 0.170 264.3);
Tailwind
colors: {
custom: {
50: '#777fcc',
500: '#254eb5',
950: '#000000',
},
}SCSS
$custom: #254eb5; $custom-light: #777fcc; $custom-dark: #000000;
JSON
{
"hex": "#254eb5",
"rgb": {
"r": 37,
"g": 78,
"b": 181
},
"hsl": {
"h": 222.917,
"s": 66.055,
"l": 42.745
},
"oklch": {
"l": 0.45977,
"c": 0.17006,
"h": 264.3
},
"luminance": 0.09178
}Semantic roles & 50–950 ramp
primary
#254EB5
secondary
#C9AF6D
accent
#B93FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82