#254B93#254B93
#254B93 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.127 H 261.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #254B93 |
|---|---|
| RGB | rgb(37, 75, 147) |
| HSL | hsl(219, 60%, 36%) |
| HSV | hsv(219, 75%, 58%) |
| CMYK | cmyk(74.8%, 49%, 0%, 42.4%) |
| CIE-LAB | lab(32.99, 12.83, -43.63) |
| CIE-LCH | lch(32.99, 45.47, 286.39°) |
| OKLab | oklab(42.66% -0.0182 -0.1252) |
| OKLCH | oklch(42.66% 0.127 261.7) |
| XYZ | xyz(8.5436, 7.5311, 28.6015) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.17
Dusk Blue
#26538D
ΔE00 3.32
Cobalt
#0047AB
ΔE00 3.59
Darkish Blue
#014182
ΔE00 4.31
Light Navy
#155084
ΔE00 4.76
Twilight Blue
#0A437A
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B93 #936D25
analogous
#258293 #254B93 #362593
triadic
#254B93 #93254B #4B9325
tetradic
#254B93 #932582 #936D25 #259336
square
#254B93 #932582 #936D25 #259336
split-complementary
#254B93 #933625 #829325
monochromatic
#0C1931 #193262 #254B93 #3164C4 #5C86D6
Accessibility & contrast
On white
8.38
#254B93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#254B93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B93
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B93 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#034992
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254b93; /* rgb */ color: rgb(37, 75, 147); /* oklch */ color: oklch(42.7% 0.127 261.7);
Tailwind
colors: {
custom: {
50: '#6f7cb3',
500: '#254b93',
950: '#000000',
},
}SCSS
$custom: #254b93; $custom-light: #6f7cb3; $custom-dark: #000000;
JSON
{
"hex": "#254b93",
"rgb": {
"r": 37,
"g": 75,
"b": 147
},
"hsl": {
"h": 219.273,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.42655,
"c": 0.12653,
"h": 261.7
},
"luminance": 0.07532
}Semantic roles & 50–950 ramp
primary
#254B93
secondary
#BB9959
accent
#AC45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80