#254CB0#254CB0
#254CB0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.166 H 264.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #254CB0 |
|---|---|
| RGB | rgb(37, 76, 176) |
| HSL | hsl(223, 65%, 42%) |
| HSV | hsv(223, 79%, 69%) |
| CMYK | cmyk(79%, 56.8%, 0%, 31%) |
| CIE-LAB | lab(35.39, 23.48, -57.16) |
| CIE-LCH | lch(35.39, 61.80, 292.33°) |
| OKLab | oklab(45.15% -0.0159 -0.165) |
| OKLCH | oklch(45.15% 0.166 264.5) |
| XYZ | xyz(11.1811, 8.6955, 42.1550) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.41
Sapphire
#0F52BA
ΔE00 2.82
Blue Blue
#2242C7
ΔE00 4.84
Cobalt (survey)
#1E488F
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CB0 #B08925
analogous
#2592B0 #254CB0 #4325B0
triadic
#254CB0 #B0254C #4CB025
tetradic
#254CB0 #B02592 #B08925 #25B043
square
#254CB0 #B02592 #B08925 #25B043
split-complementary
#254CB0 #B04325 #92B025
monochromatic
#10204B #1A367D #254CB0 #3C67D6 #6F8FE1
Accessibility & contrast
On white
7.67
#254CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#254CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CB0
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CB0 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #254cb0; /* rgb */ color: rgb(37, 76, 176); /* oklch */ color: oklch(45.2% 0.166 264.5);
Tailwind
colors: {
custom: {
50: '#767dc8',
500: '#254cb0',
950: '#000000',
},
}SCSS
$custom: #254cb0; $custom-light: #767dc8; $custom-dark: #000000;
JSON
{
"hex": "#254cb0",
"rgb": {
"r": 37,
"g": 76,
"b": 176
},
"hsl": {
"h": 223.165,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.45154,
"c": 0.16578,
"h": 264.5
},
"luminance": 0.08697
}Semantic roles & 50–950 ramp
primary
#254CB0
secondary
#C7AD6A
accent
#B940E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82