#2554B1#2554B1
#2554B1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.157 H 262.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2554B1 |
|---|---|
| RGB | rgb(37, 84, 177) |
| HSL | hsl(220, 65%, 42%) |
| HSV | hsv(220, 79%, 69%) |
| CMYK | cmyk(79.1%, 52.5%, 0%, 30.6%) |
| CIE-LAB | lab(37.67, 18.54, -54.05) |
| CIE-LCH | lch(37.67, 57.14, 288.93°) |
| OKLab | oklab(46.91% -0.0216 -0.1557) |
| OKLCH | oklch(46.91% 0.157 262.1) |
| XYZ | xyz(11.8662, 9.9069, 42.8733) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.44
Cobalt
#0047AB
ΔE00 4.23
Denim Blue
#3B5B92
ΔE00 4.73
Dusk Blue
#26538D
ΔE00 4.74
Denim
#1560BD
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2554B1 #B18225
analogous
#259AB1 #2554B1 #3C25B1
triadic
#2554B1 #B12554 #54B125
tetradic
#2554B1 #B1259A #B18225 #25B13C
square
#2554B1 #B1259A #B18225 #25B13C
split-complementary
#2554B1 #B13C25 #9AB125
monochromatic
#10244C #1A3C7E #2554B1 #3D70D6 #6F96E1
Accessibility & contrast
On white
7.04
#2554B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2554B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2554B1
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2554B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2554B1 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125FB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2554b1; /* rgb */ color: rgb(37, 84, 177); /* oklch */ color: oklch(46.9% 0.157 262.1);
Tailwind
colors: {
custom: {
50: '#7683c9',
500: '#2554b1',
950: '#000000',
},
}SCSS
$custom: #2554b1; $custom-light: #7683c9; $custom-dark: #000000;
JSON
{
"hex": "#2554b1",
"rgb": {
"r": 37,
"g": 84,
"b": 177
},
"hsl": {
"h": 219.857,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.46906,
"c": 0.1572,
"h": 262.1
},
"luminance": 0.09908
}Semantic roles & 50–950 ramp
primary
#2554B1
secondary
#C8A86A
accent
#B03FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82