#254997#254997
#254997 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.135 H 263.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #254997 |
|---|---|
| RGB | rgb(37, 73, 151) |
| HSL | hsl(221, 61%, 37%) |
| HSV | hsv(221, 75%, 59%) |
| CMYK | cmyk(75.5%, 51.7%, 0%, 40.8%) |
| CIE-LAB | lab(32.68, 15.75, -46.55) |
| CIE-LCH | lch(32.68, 49.14, 288.69°) |
| OKLab | oklab(42.51% -0.0159 -0.1338) |
| OKLCH | oklch(42.51% 0.135 263.2) |
| XYZ | xyz(8.7294, 7.3918, 30.2389) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.55
Cobalt
#0047AB
ΔE00 2.96
Dusk Blue
#26538D
ΔE00 4.30
Darkish Blue
#014182
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 5.20
Twilight Blue
#0A437A
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254997 #977325
analogous
#258297 #254997 #3A2597
triadic
#254997 #972549 #499725
tetradic
#254997 #972582 #977325 #25973A
square
#254997 #972582 #977325 #25973A
split-complementary
#254997 #973A25 #829725
monochromatic
#0D1935 #193166 #254997 #3161C8 #5F85D8
Accessibility & contrast
On white
8.47
#254997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#254997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254997
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254997 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #254997; /* rgb */ color: rgb(37, 73, 151); /* oklch */ color: oklch(42.5% 0.135 263.2);
Tailwind
colors: {
custom: {
50: '#707bb6',
500: '#254997',
950: '#000000',
},
}SCSS
$custom: #254997; $custom-light: #707bb6; $custom-dark: #000000;
JSON
{
"hex": "#254997",
"rgb": {
"r": 37,
"g": 73,
"b": 151
},
"hsl": {
"h": 221.053,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.42512,
"c": 0.13479,
"h": 263.2
},
"luminance": 0.07393
}Semantic roles & 50–950 ramp
primary
#254997
secondary
#BD9E5B
accent
#B144E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80