#254893#254893
#254893 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.130 H 263.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #254893 |
|---|---|
| RGB | rgb(37, 72, 147) |
| HSL | hsl(221, 60%, 36%) |
| HSV | hsv(221, 75%, 58%) |
| CMYK | cmyk(74.8%, 51%, 0%, 42.4%) |
| CIE-LAB | lab(32.11, 14.86, -45.04) |
| CIE-LCH | lch(32.11, 47.43, 288.26°) |
| OKLab | oklab(41.98% -0.0156 -0.1294) |
| OKLCH | oklch(41.98% 0.13 263.1) |
| XYZ | xyz(8.3449, 7.1337, 28.5353) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.21
Cobalt
#0047AB
ΔE00 3.39
Darkish Blue
#014182
ΔE00 4.12
Dusk Blue
#26538D
ΔE00 4.40
Twilight Blue
#0A437A
ΔE00 4.84
Light Navy
#155084
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254893 #937025
analogous
#257F93 #254893 #392593
triadic
#254893 #932548 #489325
tetradic
#254893 #93257F #937025 #259339
square
#254893 #93257F #937025 #259339
split-complementary
#254893 #933925 #7F9325
monochromatic
#0C1831 #193062 #254893 #3160C4 #5C83D6
Accessibility & contrast
On white
8.65
#254893 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#254893 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254893
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254893 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254893 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5196
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #254893; /* rgb */ color: rgb(37, 72, 147); /* oklch */ color: oklch(42.0% 0.130 263.1);
Tailwind
colors: {
custom: {
50: '#6f7ab3',
500: '#254893',
950: '#000000',
},
}SCSS
$custom: #254893; $custom-light: #6f7ab3; $custom-dark: #000000;
JSON
{
"hex": "#254893",
"rgb": {
"r": 37,
"g": 72,
"b": 147
},
"hsl": {
"h": 220.909,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.41984,
"c": 0.13036,
"h": 263.1
},
"luminance": 0.07135
}Semantic roles & 50–950 ramp
primary
#254893
secondary
#BB9C59
accent
#B145E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80