#254AA0#254AA0
#254AA0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.146 H 263.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #254AA0 |
|---|---|
| RGB | rgb(37, 74, 160) |
| HSL | hsl(222, 62%, 39%) |
| HSV | hsv(222, 77%, 63%) |
| CMYK | cmyk(76.9%, 53.7%, 0%, 37.3%) |
| CIE-LAB | lab(33.62, 18.60, -50.47) |
| CIE-LCH | lch(33.62, 53.79, 290.23°) |
| OKLab | oklab(43.43% -0.0157 -0.1454) |
| OKLCH | oklch(43.43% 0.146 263.8) |
| XYZ | xyz(9.5546, 7.8279, 34.2583) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.18
Cobalt (survey)
#1E488F
ΔE00 2.71
Sapphire
#0F52BA
ΔE00 4.19
Dusk Blue
#26538D
ΔE00 4.72
Darkish Blue
#014182
ΔE00 5.59
Denim Blue
#3B5B92
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AA0 #A07B25
analogous
#2587A0 #254AA0 #3D25A0
triadic
#254AA0 #A0254A #4AA025
tetradic
#254AA0 #A02587 #A07B25 #25A03D
square
#254AA0 #A02587 #A07B25 #25A03D
split-complementary
#254AA0 #A03D25 #87A025
monochromatic
#0E1C3D #1A336E #254AA0 #3262D0 #6488DB
Accessibility & contrast
On white
8.18
#254AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#254AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AA0
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AA0 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0955A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254aa0; /* rgb */ color: rgb(37, 74, 160); /* oklch */ color: oklch(43.4% 0.146 263.8);
Tailwind
colors: {
custom: {
50: '#727bbd',
500: '#254aa0',
950: '#000000',
},
}SCSS
$custom: #254aa0; $custom-light: #727bbd; $custom-dark: #000000;
JSON
{
"hex": "#254aa0",
"rgb": {
"r": 37,
"g": 74,
"b": 160
},
"hsl": {
"h": 221.951,
"s": 62.437,
"l": 38.627
},
"oklch": {
"l": 0.43433,
"c": 0.14623,
"h": 263.8
},
"luminance": 0.07829
}Semantic roles & 50–950 ramp
primary
#254AA0
secondary
#C1A460
accent
#B442E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81