#2557B2#2557B2
#2557B2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.155 H 261.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2557B2 |
|---|---|
| RGB | rgb(37, 87, 178) |
| HSL | hsl(219, 66%, 42%) |
| HSV | hsv(219, 79%, 70%) |
| CMYK | cmyk(79.2%, 51.1%, 0%, 30.2%) |
| CIE-LAB | lab(38.59, 16.94, -53.16) |
| CIE-LCH | lch(38.59, 55.79, 287.68°) |
| OKLab | oklab(47.63% -0.0238 -0.153) |
| OKLCH | oklch(47.63% 0.155 261.2) |
| XYZ | xyz(12.2041, 10.4226, 43.4794) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.95
Denim
#1560BD
ΔE00 3.72
Denim Blue
#3B5B92
ΔE00 4.42
Dusk Blue
#26538D
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.18
Light Navy Blue
#2E5A88
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2557B2 #B28025
analogous
#259EB2 #2557B2 #3925B2
triadic
#2557B2 #B22557 #57B225
tetradic
#2557B2 #B2259E #B28025 #25B239
square
#2557B2 #B2259E #B28025 #25B239
split-complementary
#2557B2 #B23925 #9EB225
monochromatic
#10254D #1A3E7F #2557B2 #3D74D7 #7098E1
Accessibility & contrast
On white
6.81
#2557B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2557B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2557B2
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2557B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2557B2 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2557b2; /* rgb */ color: rgb(37, 87, 178); /* oklch */ color: oklch(47.6% 0.155 261.2);
Tailwind
colors: {
custom: {
50: '#7685ca',
500: '#2557b2',
950: '#000000',
},
}SCSS
$custom: #2557b2; $custom-light: #7685ca; $custom-dark: #000000;
JSON
{
"hex": "#2557b2",
"rgb": {
"r": 37,
"g": 87,
"b": 178
},
"hsl": {
"h": 218.723,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.47627,
"c": 0.15486,
"h": 261.2
},
"luminance": 0.10424
}Semantic roles & 50–950 ramp
primary
#2557B2
secondary
#C8A76B
accent
#AD3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82