#254F90#254F90
#254F90 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.117 H 259.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #254F90 |
|---|---|
| RGB | rgb(37, 79, 144) |
| HSL | hsl(216, 59%, 35%) |
| HSV | hsv(216, 74%, 56%) |
| CMYK | cmyk(74.3%, 45.1%, 0%, 43.5%) |
| CIE-LAB | lab(33.98, 8.97, -40.21) |
| CIE-LCH | lch(33.98, 41.19, 282.57°) |
| OKLab | oklab(43.36% -0.0225 -0.1151) |
| OKLCH | oklch(43.36% 0.117 259) |
| XYZ | xyz(8.5911, 7.9980, 27.4711) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.66
Cobalt (survey)
#1E488F
ΔE00 2.30
Light Navy
#155084
ΔE00 3.46
Denim Blue
#3B5B92
ΔE00 4.27
Light Navy Blue
#2E5A88
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F90 #906625
analogous
#258490 #254F90 #312590
triadic
#254F90 #90254F #4F9025
tetradic
#254F90 #902584 #906625 #259031
square
#254F90 #902584 #906625 #259031
split-complementary
#254F90 #903125 #849025
monochromatic
#0C1A2F #18345F #254F90 #326AC1 #5B8BD5
Accessibility & contrast
On white
8.08
#254F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#254F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F90
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F90 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#1A4B8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254f90; /* rgb */ color: rgb(37, 79, 144); /* oklch */ color: oklch(43.4% 0.117 259.0);
Tailwind
colors: {
custom: {
50: '#6e7fb1',
500: '#254f90',
950: '#000000',
},
}SCSS
$custom: #254f90; $custom-light: #6e7fb1; $custom-dark: #000000;
JSON
{
"hex": "#254f90",
"rgb": {
"r": 37,
"g": 79,
"b": 144
},
"hsl": {
"h": 216.449,
"s": 59.116,
"l": 35.49
},
"oklch": {
"l": 0.43355,
"c": 0.11725,
"h": 259
},
"luminance": 0.07999
}Semantic roles & 50–950 ramp
primary
#254F90
secondary
#B99357
accent
#A545E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80