#2554B5#2554B5
#2554B5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.163 H 262.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2554B5 |
|---|---|
| RGB | rgb(37, 84, 181) |
| HSL | hsl(220, 66%, 43%) |
| HSV | hsv(220, 80%, 71%) |
| CMYK | cmyk(79.6%, 53.6%, 0%, 29%) |
| CIE-LAB | lab(37.97, 20.10, -55.94) |
| CIE-LCH | lch(37.97, 59.44, 289.76°) |
| OKLab | oklab(47.22% -0.0212 -0.1613) |
| OKLCH | oklch(47.22% 0.163 262.5) |
| XYZ | xyz(12.2708, 10.0687, 45.0038) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.24
Cobalt
#0047AB
ΔE00 4.35
Denim
#1560BD
ΔE00 4.78
Denim Blue
#3B5B92
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.27
Light Navy Blue
#2E5A88
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2554B5 #B58625
analogous
#259CB5 #2554B5 #3E25B5
triadic
#2554B5 #B52554 #54B525
tetradic
#2554B5 #B5259C #B58625 #25B53E
square
#2554B5 #B5259C #B58625 #25B53E
split-complementary
#2554B5 #B53E25 #9CB525
monochromatic
#10254F #1B3C82 #2554B5 #3F71D8 #7297E2
Accessibility & contrast
On white
6.97
#2554B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2554B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2554B5
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2554B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2554B5 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0560B8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2554b5; /* rgb */ color: rgb(37, 84, 181); /* oklch */ color: oklch(47.2% 0.163 262.5);
Tailwind
colors: {
custom: {
50: '#7783cc',
500: '#2554b5',
950: '#000000',
},
}SCSS
$custom: #2554b5; $custom-light: #7783cc; $custom-dark: #000000;
JSON
{
"hex": "#2554b5",
"rgb": {
"r": 37,
"g": 84,
"b": 181
},
"hsl": {
"h": 220.417,
"s": 66.055,
"l": 42.745
},
"oklch": {
"l": 0.47219,
"c": 0.16265,
"h": 262.5
},
"luminance": 0.1007
}Semantic roles & 50–950 ramp
primary
#2554B5
secondary
#C9AB6D
accent
#B13FE9
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A13
muted
#7C7C82