#2557BE#2557BE
#2557BE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.171 H 262.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2557BE |
|---|---|
| RGB | rgb(37, 87, 190) |
| HSL | hsl(220, 67%, 45%) |
| HSV | hsv(220, 81%, 75%) |
| CMYK | cmyk(80.5%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(39.46, 21.60, -58.80) |
| CIE-LCH | lch(39.46, 62.64, 290.17°) |
| OKLab | oklab(48.56% -0.0225 -0.1696) |
| OKLCH | oklch(48.56% 0.171 262.5) |
| XYZ | xyz(13.4621, 10.9258, 50.1046) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.95
Denim
#1560BD
ΔE00 3.99
Cobalt
#0047AB
ΔE00 5.60
Denim Blue
#3B5B92
ΔE00 5.68
Azul
#1D5DEC
ΔE00 6.07
Dusk Blue
#26538D
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2557BE #BE8C25
analogous
#25A4BE #2557BE #3F25BE
triadic
#2557BE #BE2557 #57BE25
tetradic
#2557BE #BE25A4 #BE8C25 #25BE3F
square
#2557BE #BE25A4 #BE8C25 #25BE3F
split-complementary
#2557BE #BE3F25 #A4BE25
monochromatic
#112858 #1B408B #2557BE #4576DB #799CE5
Accessibility & contrast
On white
6.59
#2557BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2557BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2557BE
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2557BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2557BE | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2557be; /* rgb */ color: rgb(37, 87, 190); /* oklch */ color: oklch(48.6% 0.171 262.5);
Tailwind
colors: {
custom: {
50: '#7985d2',
500: '#2557be',
950: '#000000',
},
}SCSS
$custom: #2557be; $custom-light: #7985d2; $custom-dark: #000000;
JSON
{
"hex": "#2557be",
"rgb": {
"r": 37,
"g": 87,
"b": 190
},
"hsl": {
"h": 220.392,
"s": 67.401,
"l": 44.51
},
"oklch": {
"l": 0.48559,
"c": 0.17109,
"h": 262.5
},
"luminance": 0.10927
}Semantic roles & 50–950 ramp
primary
#2557BE
secondary
#CDAF72
accent
#B23EEA
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83