#254B99#254B99
#254B99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.135 H 262.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #254B99 |
|---|---|
| RGB | rgb(37, 75, 153) |
| HSL | hsl(220, 61%, 37%) |
| HSV | hsv(220, 76%, 60%) |
| CMYK | cmyk(75.8%, 51%, 0%, 40%) |
| CIE-LAB | lab(33.40, 15.18, -46.60) |
| CIE-LCH | lch(33.40, 49.01, 288.04°) |
| OKLab | oklab(43.11% -0.0174 -0.134) |
| OKLCH | oklch(43.11% 0.135 262.6) |
| XYZ | xyz(9.0267, 7.7244, 31.1460) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.77
Cobalt
#0047AB
ΔE00 2.92
Dusk Blue
#26538D
ΔE00 3.78
Sapphire
#0F52BA
ΔE00 4.65
Darkish Blue
#014182
ΔE00 4.87
Light Navy
#155084
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B99 #997325
analogous
#258599 #254B99 #392599
triadic
#254B99 #99254B #4B9925
tetradic
#254B99 #992585 #997325 #259939
square
#254B99 #992585 #997325 #259939
split-complementary
#254B99 #993925 #859925
monochromatic
#0D1B36 #193368 #254B99 #3163CA #6087D9
Accessibility & contrast
On white
8.25
#254B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#254B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B99
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B99 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254b99; /* rgb */ color: rgb(37, 75, 153); /* oklch */ color: oklch(43.1% 0.135 262.6);
Tailwind
colors: {
custom: {
50: '#707cb8',
500: '#254b99',
950: '#000000',
},
}SCSS
$custom: #254b99; $custom-light: #707cb8; $custom-dark: #000000;
JSON
{
"hex": "#254b99",
"rgb": {
"r": 37,
"g": 75,
"b": 153
},
"hsl": {
"h": 220.345,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.43106,
"c": 0.13509,
"h": 262.6
},
"luminance": 0.07725
}Semantic roles & 50–950 ramp
primary
#254B99
secondary
#BE9E5C
accent
#B044E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80