#254CB4#254CB4
#254CB4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.171 H 264.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #254CB4 |
|---|---|
| RGB | rgb(37, 76, 180) |
| HSL | hsl(224, 66%, 43%) |
| HSV | hsv(224, 79%, 71%) |
| CMYK | cmyk(79.4%, 57.8%, 0%, 29.4%) |
| CIE-LAB | lab(35.71, 25.02, -59.02) |
| CIE-LCH | lch(35.71, 64.10, 292.98°) |
| OKLab | oklab(45.49% -0.0157 -0.1705) |
| OKLCH | oklch(45.49% 0.171 264.7) |
| XYZ | xyz(11.5827, 8.8561, 44.2701) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.73
Sapphire
#0F52BA
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 4.39
Cobalt (survey)
#1E488F
ΔE00 5.41
Blue (survey)
#0343DF
ΔE00 6.13
Sapphire (survey)
#2138AB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CB4 #B48D25
analogous
#2594B4 #254CB4 #4525B4
triadic
#254CB4 #B4254C #4CB425
tetradic
#254CB4 #B42594 #B48D25 #25B445
square
#254CB4 #B42594 #B48D25 #25B445
split-complementary
#254CB4 #B44525 #94B425
monochromatic
#10214E #1B3781 #254CB4 #3F68D7 #7190E2
Accessibility & contrast
On white
7.58
#254CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#254CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CB4
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CB4 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #254cb4; /* rgb */ color: rgb(37, 76, 180); /* oklch */ color: oklch(45.5% 0.171 264.7);
Tailwind
colors: {
custom: {
50: '#777dcb',
500: '#254cb4',
950: '#000000',
},
}SCSS
$custom: #254cb4; $custom-light: #777dcb; $custom-dark: #000000;
JSON
{
"hex": "#254cb4",
"rgb": {
"r": 37,
"g": 76,
"b": 180
},
"hsl": {
"h": 223.636,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.45489,
"c": 0.17118,
"h": 264.7
},
"luminance": 0.08857
}Semantic roles & 50–950 ramp
primary
#254CB4
secondary
#C9AF6C
accent
#BB3FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82