#254AB0#254AB0
#254AB0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.168 H 265.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #254AB0 |
|---|---|
| RGB | rgb(37, 74, 176) |
| HSL | hsl(224, 65%, 42%) |
| HSV | hsv(224, 79%, 69%) |
| CMYK | cmyk(79%, 58%, 0%, 31%) |
| CIE-LAB | lab(34.85, 24.81, -58.04) |
| CIE-LCH | lch(34.85, 63.12, 293.15°) |
| OKLab | oklab(44.75% -0.0146 -0.1676) |
| OKLCH | oklch(44.75% 0.168 265) |
| XYZ | xyz(11.0454, 8.4242, 42.1098) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.32
Sapphire
#0F52BA
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 4.34
Cobalt (survey)
#1E488F
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 5.65
Dusk Blue
#26538D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254AB0 #B08B25
analogous
#2590B0 #254AB0 #4625B0
triadic
#254AB0 #B0254A #4AB025
tetradic
#254AB0 #B02590 #B08B25 #25B046
square
#254AB0 #B02590 #B08B25 #25B046
split-complementary
#254AB0 #B04625 #90B025
monochromatic
#101F4B #1A357D #254AB0 #3C65D6 #6F8DE1
Accessibility & contrast
On white
7.82
#254AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#254AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254AB0
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254AB0 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #254ab0; /* rgb */ color: rgb(37, 74, 176); /* oklch */ color: oklch(44.7% 0.168 265.0);
Tailwind
colors: {
custom: {
50: '#767cc8',
500: '#254ab0',
950: '#000000',
},
}SCSS
$custom: #254ab0; $custom-light: #767cc8; $custom-dark: #000000;
JSON
{
"hex": "#254ab0",
"rgb": {
"r": 37,
"g": 74,
"b": 176
},
"hsl": {
"h": 224.029,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.44748,
"c": 0.16825,
"h": 265
},
"luminance": 0.08425
}Semantic roles & 50–950 ramp
primary
#254AB0
secondary
#C7AE6A
accent
#BB40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82