#254694#254694
#254694 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.134 H 264.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #254694 |
|---|---|
| RGB | rgb(37, 70, 148) |
| HSL | hsl(222, 60%, 36%) |
| HSV | hsv(222, 75%, 58%) |
| CMYK | cmyk(75%, 52.7%, 0%, 42%) |
| CIE-LAB | lab(31.60, 16.61, -46.47) |
| CIE-LCH | lch(31.60, 49.35, 289.67°) |
| OKLab | oklab(41.62% -0.0137 -0.1337) |
| OKLCH | oklch(41.62% 0.134 264.1) |
| XYZ | xyz(8.2965, 6.9109, 28.9079) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.80
Cobalt
#0047AB
ΔE00 3.33
Darkish Blue
#014182
ΔE00 4.27
Twilight Blue
#0A437A
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.17
Sapphire
#0F52BA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254694 #947325
analogous
#257E94 #254694 #3C2594
triadic
#254694 #942546 #469425
tetradic
#254694 #94257E #947325 #25943C
square
#254694 #94257E #947325 #25943C
split-complementary
#254694 #943C25 #7E9425
monochromatic
#0D1832 #192F63 #254694 #315DC5 #5D81D6
Accessibility & contrast
On white
8.81
#254694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#254694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254694
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254694 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #254694; /* rgb */ color: rgb(37, 70, 148); /* oklch */ color: oklch(41.6% 0.134 264.1);
Tailwind
colors: {
custom: {
50: '#7078b4',
500: '#254694',
950: '#000000',
},
}SCSS
$custom: #254694; $custom-light: #7078b4; $custom-dark: #000000;
JSON
{
"hex": "#254694",
"rgb": {
"r": 37,
"g": 70,
"b": 148
},
"hsl": {
"h": 222.162,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.41621,
"c": 0.13437,
"h": 264.1
},
"luminance": 0.06912
}Semantic roles & 50–950 ramp
primary
#254694
secondary
#BB9E59
accent
#B445E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80