#254F93#254F93
#254F93 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.122 H 259.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #254F93 |
|---|---|
| RGB | rgb(37, 79, 147) |
| HSL | hsl(217, 60%, 36%) |
| HSV | hsv(217, 75%, 58%) |
| CMYK | cmyk(74.8%, 46.3%, 0%, 42.4%) |
| CIE-LAB | lab(34.17, 10.14, -41.72) |
| CIE-LCH | lch(34.17, 42.94, 283.66°) |
| OKLab | oklab(43.57% -0.0219 -0.1195) |
| OKLCH | oklch(43.57% 0.122 259.6) |
| XYZ | xyz(8.8235, 8.0909, 28.6948) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.90
Cobalt (survey)
#1E488F
ΔE00 2.27
Light Navy
#155084
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.25
Denim Blue
#3B5B92
ΔE00 4.25
Light Navy Blue
#2E5A88
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F93 #936925
analogous
#258693 #254F93 #322593
triadic
#254F93 #93254F #4F9325
tetradic
#254F93 #932586 #936925 #259332
square
#254F93 #932586 #936925 #259332
split-complementary
#254F93 #933225 #869325
monochromatic
#0C1A31 #193562 #254F93 #3169C4 #5C8BD6
Accessibility & contrast
On white
8.02
#254F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#254F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F93
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F93 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#154C92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254f93; /* rgb */ color: rgb(37, 79, 147); /* oklch */ color: oklch(43.6% 0.122 259.6);
Tailwind
colors: {
custom: {
50: '#6f7fb3',
500: '#254f93',
950: '#000000',
},
}SCSS
$custom: #254f93; $custom-light: #6f7fb3; $custom-dark: #000000;
JSON
{
"hex": "#254f93",
"rgb": {
"r": 37,
"g": 79,
"b": 147
},
"hsl": {
"h": 217.091,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.43566,
"c": 0.12153,
"h": 259.6
},
"luminance": 0.08092
}Semantic roles & 50–950 ramp
primary
#254F93
secondary
#BB9559
accent
#A745E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80