#254B94#254B94
#254B94 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.128 H 261.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #254B94 |
|---|---|
| RGB | rgb(37, 75, 148) |
| HSL | hsl(219, 60%, 36%) |
| HSV | hsv(219, 75%, 58%) |
| CMYK | cmyk(75%, 49.3%, 0%, 42%) |
| CIE-LAB | lab(33.05, 13.22, -44.13) |
| CIE-LCH | lch(33.05, 46.06, 286.68°) |
| OKLab | oklab(42.73% -0.0181 -0.1267) |
| OKLCH | oklch(42.73% 0.128 261.9) |
| XYZ | xyz(8.6224, 7.5626, 29.0165) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.24
Dusk Blue
#26538D
ΔE00 3.39
Cobalt
#0047AB
ΔE00 3.47
Darkish Blue
#014182
ΔE00 4.40
Light Navy
#155084
ΔE00 4.85
Twilight Blue
#0A437A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254B94 #946E25
analogous
#258394 #254B94 #362594
triadic
#254B94 #94254B #4B9425
tetradic
#254B94 #942583 #946E25 #259436
square
#254B94 #942583 #946E25 #259436
split-complementary
#254B94 #943625 #839425
monochromatic
#0D1932 #193263 #254B94 #3164C5 #5D87D6
Accessibility & contrast
On white
8.36
#254B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#254B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254B94
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254B94 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #254b94; /* rgb */ color: rgb(37, 75, 148); /* oklch */ color: oklch(42.7% 0.128 261.9);
Tailwind
colors: {
custom: {
50: '#6f7cb4',
500: '#254b94',
950: '#000000',
},
}SCSS
$custom: #254b94; $custom-light: #6f7cb4; $custom-dark: #000000;
JSON
{
"hex": "#254b94",
"rgb": {
"r": 37,
"g": 75,
"b": 148
},
"hsl": {
"h": 219.459,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.42729,
"c": 0.12797,
"h": 261.9
},
"luminance": 0.07564
}Semantic roles & 50–950 ramp
primary
#254B94
secondary
#BB9A59
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80