#254C99#254C99
#254C99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.134 H 262.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #254C99 |
|---|---|
| RGB | rgb(37, 76, 153) |
| HSL | hsl(220, 61%, 37%) |
| HSV | hsv(220, 76%, 60%) |
| CMYK | cmyk(75.8%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(33.69, 14.51, -46.13) |
| CIE-LCH | lch(33.69, 48.36, 287.46°) |
| OKLab | oklab(43.33% -0.0182 -0.1326) |
| OKLCH | oklch(43.33% 0.134 262.2) |
| XYZ | xyz(9.0951, 7.8611, 31.1688) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.85
Cobalt
#0047AB
ΔE00 3.06
Dusk Blue
#26538D
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 4.49
Darkish Blue
#014182
ΔE00 4.97
Light Navy
#155084
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254C99 #997225
analogous
#258699 #254C99 #382599
triadic
#254C99 #99254C #4C9925
tetradic
#254C99 #992586 #997225 #259938
square
#254C99 #992586 #997225 #259938
split-complementary
#254C99 #993825 #869925
monochromatic
#0D1B36 #193468 #254C99 #3164CA #6088D9
Accessibility & contrast
On white
8.16
#254C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#254C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254C99
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254C99 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254c99; /* rgb */ color: rgb(37, 76, 153); /* oklch */ color: oklch(43.3% 0.134 262.2);
Tailwind
colors: {
custom: {
50: '#707db8',
500: '#254c99',
950: '#000000',
},
}SCSS
$custom: #254c99; $custom-light: #707db8; $custom-dark: #000000;
JSON
{
"hex": "#254c99",
"rgb": {
"r": 37,
"g": 76,
"b": 153
},
"hsl": {
"h": 219.828,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.43327,
"c": 0.13382,
"h": 262.2
},
"luminance": 0.07862
}Semantic roles & 50–950 ramp
primary
#254C99
secondary
#BE9D5C
accent
#AE44E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80