#2554B0#2554B0
#2554B0 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.156 H 262.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2554B0 |
|---|---|
| RGB | rgb(37, 84, 176) |
| HSL | hsl(220, 65%, 42%) |
| HSV | hsv(220, 79%, 69%) |
| CMYK | cmyk(79%, 52.3%, 0%, 31%) |
| CIE-LAB | lab(37.60, 18.15, -53.57) |
| CIE-LCH | lch(37.60, 56.56, 288.72°) |
| OKLab | oklab(46.83% -0.0217 -0.1543) |
| OKLCH | oklch(46.83% 0.156 262) |
| XYZ | xyz(11.7669, 9.8672, 42.3503) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.52
Cobalt
#0047AB
ΔE00 4.21
Dusk Blue
#26538D
ΔE00 4.61
Denim Blue
#3B5B92
ΔE00 4.64
Denim
#1560BD
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2554B0 #B08125
analogous
#259AB0 #2554B0 #3C25B0
triadic
#2554B0 #B02554 #54B025
tetradic
#2554B0 #B0259A #B08125 #25B03C
square
#2554B0 #B0259A #B08125 #25B03C
split-complementary
#2554B0 #B03C25 #9AB025
monochromatic
#10244B #1A3C7D #2554B0 #3C70D6 #6F95E1
Accessibility & contrast
On white
7.06
#2554B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2554B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2554B0
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2554B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2554B0 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145FB3
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2554b0; /* rgb */ color: rgb(37, 84, 176); /* oklch */ color: oklch(46.8% 0.156 262.0);
Tailwind
colors: {
custom: {
50: '#7583c8',
500: '#2554b0',
950: '#000000',
},
}SCSS
$custom: #2554b0; $custom-light: #7583c8; $custom-dark: #000000;
JSON
{
"hex": "#2554b0",
"rgb": {
"r": 37,
"g": 84,
"b": 176
},
"hsl": {
"h": 219.712,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.46829,
"c": 0.15584,
"h": 262
},
"luminance": 0.09869
}Semantic roles & 50–950 ramp
primary
#2554B0
secondary
#C7A86A
accent
#AF40E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82