#254BAE#254BAE
#254BAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.164 H 264.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #254BAE |
|---|---|
| RGB | rgb(37, 75, 174) |
| HSL | hsl(223, 65%, 41%) |
| HSV | hsv(223, 79%, 68%) |
| CMYK | cmyk(78.7%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(34.96, 23.37, -56.67) |
| CIE-LCH | lch(34.96, 61.30, 292.41°) |
| OKLab | oklab(44.78% -0.0154 -0.1636) |
| OKLCH | oklch(44.78% 0.164 264.6) |
| XYZ | xyz(10.9163, 8.4802, 41.0977) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.20
Sapphire
#0F52BA
ΔE00 3.15
Cobalt (survey)
#1E488F
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 4.82
Dusk Blue
#26538D
ΔE00 5.90
Sapphire (survey)
#2138AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254BAE #AE8825
analogous
#2590AE #254BAE #4425AE
triadic
#254BAE #AE254B #4BAE25
tetradic
#254BAE #AE2590 #AE8825 #25AE44
square
#254BAE #AE2590 #AE8825 #25AE44
split-complementary
#254BAE #AE4425 #90AE25
monochromatic
#101F49 #1A357C #254BAE #3B66D5 #6D8DE0
Accessibility & contrast
On white
7.79
#254BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#254BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254BAE
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254BAE | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #254bae; /* rgb */ color: rgb(37, 75, 174); /* oklch */ color: oklch(44.8% 0.164 264.6);
Tailwind
colors: {
custom: {
50: '#767cc7',
500: '#254bae',
950: '#000000',
},
}SCSS
$custom: #254bae; $custom-light: #767cc7; $custom-dark: #000000;
JSON
{
"hex": "#254bae",
"rgb": {
"r": 37,
"g": 75,
"b": 174
},
"hsl": {
"h": 223.358,
"s": 64.929,
"l": 41.373
},
"oklch": {
"l": 0.44783,
"c": 0.1643,
"h": 264.6
},
"luminance": 0.08481
}Semantic roles & 50–950 ramp
primary
#254BAE
secondary
#C6AC68
accent
#B940E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82