#254689#254689
#254689 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.118 H 262.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #254689 |
|---|---|
| RGB | rgb(37, 70, 137) |
| HSL | hsl(220, 57%, 34%) |
| HSV | hsv(220, 73%, 54%) |
| CMYK | cmyk(73%, 48.9%, 0%, 46.3%) |
| CIE-LAB | lab(30.83, 12.30, -40.97) |
| CIE-LCH | lch(30.83, 42.78, 286.70°) |
| OKLab | oklab(40.78% -0.0152 -0.1175) |
| OKLCH | oklch(40.78% 0.118 262.6) |
| XYZ | xyz(7.4669, 6.5790, 24.5384) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.38
Darkish Blue
#014182
ΔE00 3.27
Twilight Blue
#0A437A
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.64
Dusk Blue
#26538D
ΔE00 4.75
Prussian Blue
#004577
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254689 #896825
analogous
#257889 #254689 #362589
triadic
#254689 #892546 #468925
tetradic
#254689 #892578 #896825 #258936
square
#254689 #892578 #896825 #258936
split-complementary
#254689 #893625 #788925
monochromatic
#0B1529 #182D59 #254689 #325FB9 #577FD2
Accessibility & contrast
On white
9.07
#254689 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#254689 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254689
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254689 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254689 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#084488
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #254689; /* rgb */ color: rgb(37, 70, 137); /* oklch */ color: oklch(40.8% 0.118 262.6);
Tailwind
colors: {
custom: {
50: '#6d78ac',
500: '#254689',
950: '#000000',
},
}SCSS
$custom: #254689; $custom-light: #6d78ac; $custom-dark: #000000;
JSON
{
"hex": "#254689",
"rgb": {
"r": 37,
"g": 70,
"b": 137
},
"hsl": {
"h": 220.2,
"s": 57.471,
"l": 34.118
},
"oklch": {
"l": 0.40782,
"c": 0.11847,
"h": 262.6
},
"luminance": 0.0658
}Semantic roles & 50–950 ramp
primary
#254689
secondary
#B69654
accent
#AE47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F