#254F99#254F99
#254F99 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.130 H 260.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #254F99 |
|---|---|
| RGB | rgb(37, 79, 153) |
| HSL | hsl(218, 61%, 37%) |
| HSV | hsv(218, 76%, 60%) |
| CMYK | cmyk(75.8%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(34.57, 12.49, -44.72) |
| CIE-LCH | lch(34.57, 46.44, 285.60°) |
| OKLab | oklab(44% -0.0208 -0.1284) |
| OKLCH | oklch(44% 0.13 260.8) |
| XYZ | xyz(9.3066, 8.2842, 31.2393) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.47
Dusk Blue
#26538D
ΔE00 2.51
Cobalt
#0047AB
ΔE00 3.67
Sapphire
#0F52BA
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 4.33
Light Navy
#155084
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F99 #996F25
analogous
#258999 #254F99 #352599
triadic
#254F99 #99254F #4F9925
tetradic
#254F99 #992589 #996F25 #259935
square
#254F99 #992589 #996F25 #259935
split-complementary
#254F99 #993525 #899925
monochromatic
#0D1C36 #193668 #254F99 #3168CA #608CD9
Accessibility & contrast
On white
7.90
#254F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#254F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F99
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F99 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#054C98
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254f99; /* rgb */ color: rgb(37, 79, 153); /* oklch */ color: oklch(44.0% 0.130 260.8);
Tailwind
colors: {
custom: {
50: '#707fb7',
500: '#254f99',
950: '#000000',
},
}SCSS
$custom: #254f99; $custom-light: #707fb7; $custom-dark: #000000;
JSON
{
"hex": "#254f99",
"rgb": {
"r": 37,
"g": 79,
"b": 153
},
"hsl": {
"h": 218.276,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.43998,
"c": 0.13004,
"h": 260.8
},
"luminance": 0.08285
}Semantic roles & 50–950 ramp
primary
#254F99
secondary
#BE9A5C
accent
#AA44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80