#254795#254795
#254795 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.135 H 263.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #254795 |
|---|---|
| RGB | rgb(37, 71, 149) |
| HSL | hsl(222, 60%, 36%) |
| HSV | hsv(222, 75%, 58%) |
| CMYK | cmyk(75.2%, 52.3%, 0%, 41.6%) |
| CIE-LAB | lab(31.96, 16.32, -46.50) |
| CIE-LCH | lch(31.96, 49.28, 289.34°) |
| OKLab | oklab(41.92% -0.0145 -0.1337) |
| OKLCH | oklch(41.92% 0.135 263.8) |
| XYZ | xyz(8.4391, 7.0688, 29.3476) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.65
Cobalt
#0047AB
ΔE00 3.17
Darkish Blue
#014182
ΔE00 4.34
Dusk Blue
#26538D
ΔE00 4.87
Twilight Blue
#0A437A
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254795 #957325
analogous
#257F95 #254795 #3B2595
triadic
#254795 #952547 #479525
tetradic
#254795 #95257F #957325 #25953B
square
#254795 #95257F #957325 #25953B
split-complementary
#254795 #953B25 #7F9525
monochromatic
#0D1833 #193064 #254795 #315EC6 #5E82D7
Accessibility & contrast
On white
8.70
#254795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#254795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254795
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254795 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #254795; /* rgb */ color: rgb(37, 71, 149); /* oklch */ color: oklch(41.9% 0.135 263.8);
Tailwind
colors: {
custom: {
50: '#7079b5',
500: '#254795',
950: '#000000',
},
}SCSS
$custom: #254795; $custom-light: #7079b5; $custom-dark: #000000;
JSON
{
"hex": "#254795",
"rgb": {
"r": 37,
"g": 71,
"b": 149
},
"hsl": {
"h": 221.786,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.41918,
"c": 0.13451,
"h": 263.8
},
"luminance": 0.0707
}Semantic roles & 50–950 ramp
primary
#254795
secondary
#BC9E5A
accent
#B344E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80