#2551BB#2551BB
#2551BB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.174 H 263.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2551BB |
|---|---|
| RGB | rgb(37, 81, 187) |
| HSL | hsl(222, 67%, 44%) |
| HSV | hsv(222, 80%, 73%) |
| CMYK | cmyk(80.2%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(37.60, 24.40, -60.06) |
| CIE-LCH | lch(37.60, 64.83, 292.11°) |
| OKLab | oklab(47.08% -0.0186 -0.1734) |
| OKLCH | oklch(47.08% 0.174 263.9) |
| XYZ | xyz(12.6718, 9.8645, 48.2403) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.69
Cobalt
#0047AB
ΔE00 4.01
Blue Blue
#2242C7
ΔE00 5.30
Denim
#1560BD
ΔE00 5.95
Denim Blue
#3B5B92
ΔE00 6.29
Blue (survey)
#0343DF
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2551BB #BB8F25
analogous
#259CBB #2551BB #4425BB
triadic
#2551BB #BB2551 #51BB25
tetradic
#2551BB #BB259C #BB8F25 #25BB44
square
#2551BB #BB259C #BB8F25 #25BB44
split-complementary
#2551BB #BB4425 #9CBB25
monochromatic
#112555 #1B3B88 #2551BB #436FDA #7697E4
Accessibility & contrast
On white
7.06
#2551BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2551BB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2551BB
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2551BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2551BB | 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)
#0060BF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2551bb; /* rgb */ color: rgb(37, 81, 187); /* oklch */ color: oklch(47.1% 0.174 263.9);
Tailwind
colors: {
custom: {
50: '#7881d0',
500: '#2551bb',
950: '#000000',
},
}SCSS
$custom: #2551bb; $custom-light: #7881d0; $custom-dark: #000000;
JSON
{
"hex": "#2551bb",
"rgb": {
"r": 37,
"g": 81,
"b": 187
},
"hsl": {
"h": 222.4,
"s": 66.964,
"l": 43.922
},
"oklch": {
"l": 0.47084,
"c": 0.17443,
"h": 263.9
},
"luminance": 0.09866
}Semantic roles & 50–950 ramp
primary
#2551BB
secondary
#CBB170
accent
#B73EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82