#2562C6#2562C6
#2562C6 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.5% C 0.168 H 260.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2562C6 |
|---|---|
| RGB | rgb(37, 98, 198) |
| HSL | hsl(217, 69%, 46%) |
| HSV | hsv(217, 81%, 78%) |
| CMYK | cmyk(81.3%, 50.5%, 0%, 22.4%) |
| CIE-LAB | lab(43.07, 17.50, -57.59) |
| CIE-LCH | lch(43.07, 60.19, 286.90°) |
| OKLab | oklab(51.49% -0.0293 -0.1658) |
| OKLCH | oklch(51.49% 0.168 260) |
| XYZ | xyz(15.3200, 13.2040, 55.1563) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.96
French Blue
#436BAD
ΔE00 4.23
Mid Blue
#276AB3
ΔE00 4.24
Medium Blue
#2C6FBB
ΔE00 5.11
Azul
#1D5DEC
ΔE00 5.32
Sapphire
#0F52BA
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2562C6 #C68925
analogous
#25B2C6 #2562C6 #3825C6
triadic
#2562C6 #C62562 #62C625
tetradic
#2562C6 #C625B2 #C68925 #25C638
square
#2562C6 #C625B2 #C68925 #25C638
split-complementary
#2562C6 #C63825 #B2C625
monochromatic
#122F5F #1B4892 #2562C6 #4B82DD #7EA6E7
Accessibility & contrast
On white
5.77
#2562C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#2562C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2562C6
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2562C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2562C6 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226DCA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2562c6; /* rgb */ color: rgb(37, 98, 198); /* oklch */ color: oklch(51.5% 0.168 260.0);
Tailwind
colors: {
custom: {
50: '#7a8dd8',
500: '#2562c6',
950: '#000000',
},
}SCSS
$custom: #2562c6; $custom-light: #7a8dd8; $custom-dark: #000000;
JSON
{
"hex": "#2562c6",
"rgb": {
"r": 37,
"g": 98,
"b": 198
},
"hsl": {
"h": 217.267,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.51492,
"c": 0.16842,
"h": 260
},
"luminance": 0.13206
}Semantic roles & 50–950 ramp
primary
#2562C6
secondary
#CFAE77
accent
#A93CEB
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83