#2551BA#2551BA
#2551BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.173 H 263.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2551BA |
|---|---|
| RGB | rgb(37, 81, 186) |
| HSL | hsl(222, 67%, 44%) |
| HSV | hsv(222, 80%, 73%) |
| CMYK | cmyk(80.1%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(37.52, 24.02, -59.60) |
| CIE-LCH | lch(37.52, 64.25, 291.95°) |
| OKLab | oklab(47% -0.0187 -0.1721) |
| OKLCH | oklch(47% 0.173 263.8) |
| XYZ | xyz(12.5651, 9.8219, 47.6784) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.63
Cobalt
#0047AB
ΔE00 3.93
Blue Blue
#2242C7
ΔE00 5.37
Denim
#1560BD
ΔE00 5.92
Denim Blue
#3B5B92
ΔE00 6.19
Dusk Blue
#26538D
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2551BA #BA8E25
analogous
#259BBA #2551BA #4325BA
triadic
#2551BA #BA2551 #51BA25
tetradic
#2551BA #BA259B #BA8E25 #25BA43
square
#2551BA #BA259B #BA8E25 #25BA43
split-complementary
#2551BA #BA4325 #9BBA25
monochromatic
#112554 #1B3B87 #2551BA #436FDA #7696E4
Accessibility & contrast
On white
7.08
#2551BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2551BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2551BA
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2551BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2551BA | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2551ba; /* rgb */ color: rgb(37, 81, 186); /* oklch */ color: oklch(47.0% 0.173 263.8);
Tailwind
colors: {
custom: {
50: '#7881d0',
500: '#2551ba',
950: '#000000',
},
}SCSS
$custom: #2551ba; $custom-light: #7881d0; $custom-dark: #000000;
JSON
{
"hex": "#2551ba",
"rgb": {
"r": 37,
"g": 81,
"b": 186
},
"hsl": {
"h": 222.282,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.47002,
"c": 0.17309,
"h": 263.8
},
"luminance": 0.09823
}Semantic roles & 50–950 ramp
primary
#2551BA
secondary
#CBB070
accent
#B73EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82