#254995#254995
#254995 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.132 H 263.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #254995 |
|---|---|
| RGB | rgb(37, 73, 149) |
| HSL | hsl(221, 60%, 36%) |
| HSV | hsv(221, 75%, 58%) |
| CMYK | cmyk(75.2%, 51%, 0%, 41.6%) |
| CIE-LAB | lab(32.54, 14.97, -45.56) |
| CIE-LCH | lch(32.54, 47.96, 288.18°) |
| OKLab | oklab(42.36% -0.0162 -0.1309) |
| OKLCH | oklch(42.36% 0.132 263) |
| XYZ | xyz(8.5684, 7.3274, 29.3907) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.30
Cobalt
#0047AB
ΔE00 3.19
Dusk Blue
#26538D
ΔE00 4.17
Darkish Blue
#014182
ΔE00 4.35
Twilight Blue
#0A437A
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254995 #957125
analogous
#258195 #254995 #392595
triadic
#254995 #952549 #499525
tetradic
#254995 #952581 #957125 #259539
square
#254995 #952581 #957125 #259539
split-complementary
#254995 #953925 #819525
monochromatic
#0D1933 #193164 #254995 #3161C6 #5E85D7
Accessibility & contrast
On white
8.52
#254995 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#254995 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254995
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254995 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254995 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #254995; /* rgb */ color: rgb(37, 73, 149); /* oklch */ color: oklch(42.4% 0.132 263.0);
Tailwind
colors: {
custom: {
50: '#707bb5',
500: '#254995',
950: '#000000',
},
}SCSS
$custom: #254995; $custom-light: #707bb5; $custom-dark: #000000;
JSON
{
"hex": "#254995",
"rgb": {
"r": 37,
"g": 73,
"b": 149
},
"hsl": {
"h": 220.714,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.42358,
"c": 0.13195,
"h": 263
},
"luminance": 0.07328
}Semantic roles & 50–950 ramp
primary
#254995
secondary
#BC9C5A
accent
#B044E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80