#2551B5#2551B5
#2551B5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.166 H 263.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2551B5 |
|---|---|
| RGB | rgb(37, 81, 181) |
| HSL | hsl(222, 66%, 43%) |
| HSV | hsv(222, 80%, 71%) |
| CMYK | cmyk(79.6%, 55.2%, 0%, 29%) |
| CIE-LAB | lab(37.14, 22.09, -57.28) |
| CIE-LCH | lch(37.14, 61.39, 291.09°) |
| OKLab | oklab(46.59% -0.0191 -0.1653) |
| OKLCH | oklch(46.59% 0.166 263.4) |
| XYZ | xyz(12.0429, 9.6130, 44.9279) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.46
Cobalt
#0047AB
ΔE00 3.58
Dusk Blue
#26538D
ΔE00 5.58
Cobalt (survey)
#1E488F
ΔE00 5.68
Denim Blue
#3B5B92
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2551B5 #B58925
analogous
#2599B5 #2551B5 #4125B5
triadic
#2551B5 #B52551 #51B525
tetradic
#2551B5 #B52599 #B58925 #25B541
square
#2551B5 #B52599 #B58925 #25B541
split-complementary
#2551B5 #B54125 #99B525
monochromatic
#10244F #1B3A82 #2551B5 #3F6ED8 #7294E2
Accessibility & contrast
On white
7.18
#2551B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2551B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2551B5
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2551B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2551B5 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2551b5; /* rgb */ color: rgb(37, 81, 181); /* oklch */ color: oklch(46.6% 0.166 263.4);
Tailwind
colors: {
custom: {
50: '#7781cc',
500: '#2551b5',
950: '#000000',
},
}SCSS
$custom: #2551b5; $custom-light: #7781cc; $custom-dark: #000000;
JSON
{
"hex": "#2551b5",
"rgb": {
"r": 37,
"g": 81,
"b": 181
},
"hsl": {
"h": 221.667,
"s": 66.055,
"l": 42.745
},
"oklch": {
"l": 0.46593,
"c": 0.16636,
"h": 263.4
},
"luminance": 0.09614
}Semantic roles & 50–950 ramp
primary
#2551B5
secondary
#C9AD6D
accent
#B53FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82