#254A94#254A94
#254A94 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.129 H 262.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #254A94 |
|---|---|
| RGB | rgb(37, 74, 148) |
| HSL | hsl(220, 60%, 36%) |
| HSV | hsv(220, 75%, 58%) |
| CMYK | cmyk(75%, 50%, 0%, 42%) |
| CIE-LAB | lab(32.76, 13.90, -44.60) |
| CIE-LCH | lch(32.76, 46.71, 287.31°) |
| OKLab | oklab(42.51% -0.0172 -0.1281) |
| OKLCH | oklch(42.51% 0.129 262.4) |
| XYZ | xyz(8.5551, 7.4281, 28.9941) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.15
Cobalt
#0047AB
ΔE00 3.37
Dusk Blue
#26538D
ΔE00 3.75
Darkish Blue
#014182
ΔE00 4.31
Twilight Blue
#0A437A
ΔE00 4.89
Light Navy
#155084
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254A94 #946F25
analogous
#258294 #254A94 #382594
triadic
#254A94 #94254A #4A9425
tetradic
#254A94 #942582 #946F25 #259438
square
#254A94 #942582 #946F25 #259438
split-complementary
#254A94 #943825 #829425
monochromatic
#0D1932 #193263 #254A94 #3162C5 #5D85D6
Accessibility & contrast
On white
8.45
#254A94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#254A94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254A94
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254A94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254A94 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205297
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #254a94; /* rgb */ color: rgb(37, 74, 148); /* oklch */ color: oklch(42.5% 0.129 262.4);
Tailwind
colors: {
custom: {
50: '#6f7cb4',
500: '#254a94',
950: '#000000',
},
}SCSS
$custom: #254a94; $custom-light: #6f7cb4; $custom-dark: #000000;
JSON
{
"hex": "#254a94",
"rgb": {
"r": 37,
"g": 74,
"b": 148
},
"hsl": {
"h": 220,
"s": 60,
"l": 36.275
},
"oklch": {
"l": 0.42505,
"c": 0.12924,
"h": 262.4
},
"luminance": 0.07429
}Semantic roles & 50–950 ramp
primary
#254A94
secondary
#BB9B59
accent
#AE45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80