#254AA2#254AA2
#254AA2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.149 H 264.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #254AA2 |
|---|---|
| RGB | rgb(37, 74, 162) |
| HSL | hsl(222, 63%, 39%) |
| HSV | hsv(222, 77%, 64%) |
| CMYK | cmyk(77.2%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(33.77, 19.38, -51.44) |
| CIE-LCH | lch(33.77, 54.97, 290.64°) |
| OKLab | oklab(43.59% -0.0156 -0.1482) |
| OKLCH | oklch(43.59% 0.149 264) |
| XYZ | xyz(9.7310, 7.8984, 35.1871) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.06
Cobalt (survey)
#1E488F
ΔE00 2.99
Sapphire
#0F52BA
ΔE00 4.04
Dusk Blue
#26538D
ΔE00 4.91
Darkish Blue
#014182
ΔE00 5.83
Denim Blue
#3B5B92
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AA2 #A27D25
analogous
#2589A2 #254AA2 #3F25A2
triadic
#254AA2 #A2254A #4AA225
tetradic
#254AA2 #A22589 #A27D25 #25A23F
square
#254AA2 #A22589 #A27D25 #25A23F
split-complementary
#254AA2 #A23F25 #89A225
monochromatic
#0E1C3E #1A3370 #254AA2 #3462D1 #6589DC
Accessibility & contrast
On white
8.14
#254AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#254AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AA2
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AA2 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0355A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #254aa2; /* rgb */ color: rgb(37, 74, 162); /* oklch */ color: oklch(43.6% 0.149 264.0);
Tailwind
colors: {
custom: {
50: '#737cbe',
500: '#254aa2',
950: '#000000',
},
}SCSS
$custom: #254aa2; $custom-light: #737cbe; $custom-dark: #000000;
JSON
{
"hex": "#254aa2",
"rgb": {
"r": 37,
"g": 74,
"b": 162
},
"hsl": {
"h": 222.24,
"s": 62.814,
"l": 39.02
},
"oklch": {
"l": 0.43593,
"c": 0.14902,
"h": 264
},
"luminance": 0.079
}Semantic roles & 50–950 ramp
primary
#254AA2
secondary
#C2A561
accent
#B542E6
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81