#2556B1#2556B1
#2556B1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.155 H 261.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2556B1 |
|---|---|
| RGB | rgb(37, 86, 177) |
| HSL | hsl(219, 65%, 42%) |
| HSV | hsv(219, 79%, 69%) |
| CMYK | cmyk(79.1%, 51.4%, 0%, 30.6%) |
| CIE-LAB | lab(38.24, 17.21, -53.14) |
| CIE-LCH | lch(38.24, 55.86, 287.95°) |
| OKLab | oklab(47.34% -0.0231 -0.153) |
| OKLCH | oklch(47.34% 0.155 261.4) |
| XYZ | xyz(12.0237, 10.2218, 42.9258) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.77
Denim
#1560BD
ΔE00 4.07
Denim Blue
#3B5B92
ΔE00 4.43
Dusk Blue
#26538D
ΔE00 4.65
Cobalt
#0047AB
ΔE00 4.85
Light Navy Blue
#2E5A88
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2556B1 #B18025
analogous
#259CB1 #2556B1 #3A25B1
triadic
#2556B1 #B12556 #56B125
tetradic
#2556B1 #B1259C #B18025 #25B13A
square
#2556B1 #B1259C #B18025 #25B13A
split-complementary
#2556B1 #B13A25 #9CB125
monochromatic
#10254C #1A3D7E #2556B1 #3D73D6 #6F97E1
Accessibility & contrast
On white
6.90
#2556B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2556B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2556B1
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2556B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2556B1 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B61B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2556b1; /* rgb */ color: rgb(37, 86, 177); /* oklch */ color: oklch(47.3% 0.155 261.4);
Tailwind
colors: {
custom: {
50: '#7685c9',
500: '#2556b1',
950: '#000000',
},
}SCSS
$custom: #2556b1; $custom-light: #7685c9; $custom-dark: #000000;
JSON
{
"hex": "#2556b1",
"rgb": {
"r": 37,
"g": 86,
"b": 177
},
"hsl": {
"h": 219,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.47335,
"c": 0.15473,
"h": 261.4
},
"luminance": 0.10223
}Semantic roles & 50–950 ramp
primary
#2556B1
secondary
#C8A76A
accent
#AD3FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82