#254BB4#254BB4
#254BB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.172 H 265.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #254BB4 |
|---|---|
| RGB | rgb(37, 75, 180) |
| HSL | hsl(224, 66%, 43%) |
| HSV | hsv(224, 79%, 71%) |
| CMYK | cmyk(79.4%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(35.44, 25.68, -59.45) |
| CIE-LCH | lch(35.44, 64.76, 293.37°) |
| OKLab | oklab(45.29% -0.0151 -0.1718) |
| OKLCH | oklch(45.29% 0.172 265) |
| XYZ | xyz(11.5143, 8.7194, 44.2473) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Sapphire
#0F52BA
ΔE00 3.11
Blue Blue
#2242C7
ΔE00 4.11
Cobalt (survey)
#1E488F
ΔE00 5.46
Sapphire (survey)
#2138AB
ΔE00 5.95
Blue (survey)
#0343DF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254BB4 #B48E25
analogous
#2593B4 #254BB4 #4625B4
triadic
#254BB4 #B4254B #4BB425
tetradic
#254BB4 #B42593 #B48E25 #25B446
square
#254BB4 #B42593 #B48E25 #25B446
split-complementary
#254BB4 #B44625 #93B425
monochromatic
#10214E #1B3681 #254BB4 #3F67D7 #718FE2
Accessibility & contrast
On white
7.65
#254BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#254BB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254BB4
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254BB4 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #254bb4; /* rgb */ color: rgb(37, 75, 180); /* oklch */ color: oklch(45.3% 0.172 265.0);
Tailwind
colors: {
custom: {
50: '#777ccb',
500: '#254bb4',
950: '#000000',
},
}SCSS
$custom: #254bb4; $custom-light: #777ccb; $custom-dark: #000000;
JSON
{
"hex": "#254bb4",
"rgb": {
"r": 37,
"g": 75,
"b": 180
},
"hsl": {
"h": 224.056,
"s": 65.899,
"l": 42.549
},
"oklch": {
"l": 0.45288,
"c": 0.17241,
"h": 265
},
"luminance": 0.08721
}Semantic roles & 50–950 ramp
primary
#254BB4
secondary
#C9B06C
accent
#BC3FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82