#254CA0#254CA0
#254CA0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.144 H 263.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #254CA0 |
|---|---|
| RGB | rgb(37, 76, 160) |
| HSL | hsl(221, 62%, 39%) |
| HSV | hsv(221, 77%, 63%) |
| CMYK | cmyk(76.9%, 52.5%, 0%, 37.3%) |
| CIE-LAB | lab(34.19, 17.25, -49.56) |
| CIE-LCH | lch(34.19, 52.47, 289.19°) |
| OKLab | oklab(43.86% -0.0173 -0.1426) |
| OKLCH | oklch(43.86% 0.144 263.1) |
| XYZ | xyz(9.6903, 8.0992, 34.3035) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.44
Cobalt (survey)
#1E488F
ΔE00 2.69
Sapphire
#0F52BA
ΔE00 3.79
Dusk Blue
#26538D
ΔE00 4.13
Denim Blue
#3B5B92
ΔE00 5.46
Darkish Blue
#014182
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CA0 #A07925
analogous
#2589A0 #254CA0 #3B25A0
triadic
#254CA0 #A0254C #4CA025
tetradic
#254CA0 #A02589 #A07925 #25A03B
square
#254CA0 #A02589 #A07925 #25A03B
split-complementary
#254CA0 #A03B25 #89A025
monochromatic
#0E1D3D #1A346E #254CA0 #3264D0 #648ADB
Accessibility & contrast
On white
8.02
#254CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#254CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CA0
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CA0 | 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)
#1456A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #254ca0; /* rgb */ color: rgb(37, 76, 160); /* oklch */ color: oklch(43.9% 0.144 263.1);
Tailwind
colors: {
custom: {
50: '#727dbd',
500: '#254ca0',
950: '#000000',
},
}SCSS
$custom: #254ca0; $custom-light: #727dbd; $custom-dark: #000000;
JSON
{
"hex": "#254ca0",
"rgb": {
"r": 37,
"g": 76,
"b": 160
},
"hsl": {
"h": 220.976,
"s": 62.437,
"l": 38.627
},
"oklch": {
"l": 0.43864,
"c": 0.14369,
"h": 263.1
},
"luminance": 0.081
}Semantic roles & 50–950 ramp
primary
#254CA0
secondary
#C1A260
accent
#B242E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81