#2551B0#2551B0
#2551B0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.160 H 263.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2551B0 |
|---|---|
| RGB | rgb(37, 81, 176) |
| HSL | hsl(221, 65%, 42%) |
| HSV | hsv(221, 79%, 69%) |
| CMYK | cmyk(79%, 54%, 0%, 31%) |
| CIE-LAB | lab(36.76, 20.14, -54.93) |
| CIE-LCH | lch(36.76, 58.51, 290.14°) |
| OKLab | oklab(46.19% -0.0195 -0.1584) |
| OKLCH | oklch(46.19% 0.16 263) |
| XYZ | xyz(11.5390, 9.4114, 42.2743) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.60
Cobalt
#0047AB
ΔE00 3.36
Dusk Blue
#26538D
ΔE00 4.94
Cobalt (survey)
#1E488F
ΔE00 5.07
Denim Blue
#3B5B92
ΔE00 5.24
Denim
#1560BD
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2551B0 #B08425
analogous
#2597B0 #2551B0 #3F25B0
triadic
#2551B0 #B02551 #51B025
tetradic
#2551B0 #B02597 #B08425 #25B03F
square
#2551B0 #B02597 #B08425 #25B03F
split-complementary
#2551B0 #B03F25 #97B025
monochromatic
#10224B #1A3A7D #2551B0 #3C6DD6 #6F93E1
Accessibility & contrast
On white
7.29
#2551B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2551B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2551B0
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2551B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2551B0 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2551b0; /* rgb */ color: rgb(37, 81, 176); /* oklch */ color: oklch(46.2% 0.160 263.0);
Tailwind
colors: {
custom: {
50: '#7681c8',
500: '#2551b0',
950: '#000000',
},
}SCSS
$custom: #2551b0; $custom-light: #7681c8; $custom-dark: #000000;
JSON
{
"hex": "#2551b0",
"rgb": {
"r": 37,
"g": 81,
"b": 176
},
"hsl": {
"h": 221.007,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.46192,
"c": 0.15956,
"h": 263
},
"luminance": 0.09413
}Semantic roles & 50–950 ramp
primary
#2551B0
secondary
#C7AA6A
accent
#B340E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82