#254697#254697
#254697 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.139 H 264.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #254697 |
|---|---|
| RGB | rgb(37, 70, 151) |
| HSL | hsl(223, 61%, 37%) |
| HSV | hsv(223, 75%, 59%) |
| CMYK | cmyk(75.5%, 53.6%, 0%, 40.8%) |
| CIE-LAB | lab(31.82, 17.79, -47.94) |
| CIE-LCH | lch(31.82, 51.13, 290.35°) |
| OKLab | oklab(41.86% -0.0134 -0.138) |
| OKLCH | oklch(41.86% 0.139 264.4) |
| XYZ | xyz(8.5370, 7.0071, 30.1747) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.13
Cobalt
#0047AB
ΔE00 3.01
Darkish Blue
#014182
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 5.34
Twilight Blue
#0A437A
ΔE00 5.49
Sapphire
#0F52BA
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254697 #977625
analogous
#257F97 #254697 #3D2597
triadic
#254697 #972546 #469725
tetradic
#254697 #97257F #977625 #25973D
square
#254697 #97257F #977625 #25973D
split-complementary
#254697 #973D25 #7F9725
monochromatic
#0D1835 #192F66 #254697 #315DC8 #5F82D8
Accessibility & contrast
On white
8.74
#254697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#254697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254697
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254697 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #254697; /* rgb */ color: rgb(37, 70, 151); /* oklch */ color: oklch(41.9% 0.139 264.4);
Tailwind
colors: {
custom: {
50: '#7078b6',
500: '#254697',
950: '#000000',
},
}SCSS
$custom: #254697; $custom-light: #7078b6; $custom-dark: #000000;
JSON
{
"hex": "#254697",
"rgb": {
"r": 37,
"g": 70,
"b": 151
},
"hsl": {
"h": 222.632,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.41858,
"c": 0.13865,
"h": 264.4
},
"luminance": 0.07008
}Semantic roles & 50–950 ramp
primary
#254697
secondary
#BDA05B
accent
#B644E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80