#254695#254695
#254695 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.136 H 264.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #254695 |
|---|---|
| RGB | rgb(37, 70, 149) |
| HSL | hsl(222, 60%, 36%) |
| HSV | hsv(222, 75%, 58%) |
| CMYK | cmyk(75.2%, 53%, 0%, 41.6%) |
| CIE-LAB | lab(31.68, 17.00, -46.96) |
| CIE-LCH | lch(31.68, 49.94, 289.90°) |
| OKLab | oklab(41.7% -0.0136 -0.1351) |
| OKLCH | oklch(41.7% 0.136 264.2) |
| XYZ | xyz(8.3760, 6.9426, 29.3266) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.91
Cobalt
#0047AB
ΔE00 3.22
Darkish Blue
#014182
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 5.23
Twilight Blue
#0A437A
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254695 #957425
analogous
#257E95 #254695 #3C2595
triadic
#254695 #952546 #469525
tetradic
#254695 #95257E #957425 #25953C
square
#254695 #95257E #957425 #25953C
split-complementary
#254695 #953C25 #7E9525
monochromatic
#0D1833 #192F64 #254695 #315DC6 #5E81D7
Accessibility & contrast
On white
8.79
#254695 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#254695 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254695
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254695 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254695 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #254695; /* rgb */ color: rgb(37, 70, 149); /* oklch */ color: oklch(41.7% 0.136 264.2);
Tailwind
colors: {
custom: {
50: '#7078b5',
500: '#254695',
950: '#000000',
},
}SCSS
$custom: #254695; $custom-light: #7078b5; $custom-dark: #000000;
JSON
{
"hex": "#254695",
"rgb": {
"r": 37,
"g": 70,
"b": 149
},
"hsl": {
"h": 222.321,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.417,
"c": 0.13579,
"h": 264.2
},
"luminance": 0.06944
}Semantic roles & 50–950 ramp
primary
#254695
secondary
#BC9F5A
accent
#B544E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80