#254786#254786
#254786 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.113 H 261.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #254786 |
|---|---|
| RGB | rgb(37, 71, 134) |
| HSL | hsl(219, 57%, 34%) |
| HSV | hsv(219, 72%, 53%) |
| CMYK | cmyk(72.4%, 47%, 0%, 47.5%) |
| CIE-LAB | lab(30.93, 10.44, -38.96) |
| CIE-LCH | lch(30.93, 40.34, 285.00°) |
| OKLab | oklab(40.79% -0.0167 -0.1116) |
| OKLCH | oklch(40.79% 0.113 261.5) |
| XYZ | xyz(7.3177, 6.6203, 23.4418) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.41
Darkish Blue
#014182
ΔE00 3.10
Twilight Blue
#0A437A
ΔE00 3.51
Dusk Blue
#26538D
ΔE00 4.34
Prussian Blue
#004577
ΔE00 4.84
Cobalt
#0047AB
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254786 #866425
analogous
#257786 #254786 #332586
triadic
#254786 #862547 #478625
tetradic
#254786 #862577 #866425 #258633
square
#254786 #862577 #866425 #258633
split-complementary
#254786 #863325 #778625
monochromatic
#0B1426 #182E56 #254786 #3260B6 #5580D0
Accessibility & contrast
On white
9.04
#254786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#254786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254786
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254786 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274E88
Deuteranopia (green-blind)
#134585
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #254786; /* rgb */ color: rgb(37, 71, 134); /* oklch */ color: oklch(40.8% 0.113 261.5);
Tailwind
colors: {
custom: {
50: '#6c79aa',
500: '#254786',
950: '#000000',
},
}SCSS
$custom: #254786; $custom-light: #6c79aa; $custom-dark: #000000;
JSON
{
"hex": "#254786",
"rgb": {
"r": 37,
"g": 71,
"b": 134
},
"hsl": {
"h": 218.969,
"s": 56.725,
"l": 33.529
},
"oklch": {
"l": 0.40793,
"c": 0.1128,
"h": 261.5
},
"luminance": 0.06621
}Semantic roles & 50–950 ramp
primary
#254786
secondary
#B49252
accent
#AB48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F