#2559C6#2559C6
#2559C6 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.179 H 262.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2559C6 |
|---|---|
| RGB | rgb(37, 89, 198) |
| HSL | hsl(221, 69%, 46%) |
| HSV | hsv(221, 81%, 78%) |
| CMYK | cmyk(81.3%, 55.1%, 0%, 22.4%) |
| CIE-LAB | lab(40.60, 23.37, -61.60) |
| CIE-LCH | lch(40.60, 65.88, 290.78°) |
| OKLab | oklab(49.61% -0.0231 -0.1778) |
| OKLCH | oklch(49.61% 0.179 262.6) |
| XYZ | xyz(14.5247, 11.6135, 54.8912) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.94
Denim
#1560BD
ΔE00 3.84
Azul
#1D5DEC
ΔE00 4.93
Warm Blue
#4B57DB
ΔE00 6.03
Denim Blue
#3B5B92
ΔE00 6.42
Cobalt
#0047AB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2559C6 #C69225
analogous
#25A9C6 #2559C6 #4125C6
triadic
#2559C6 #C62559 #59C625
tetradic
#2559C6 #C625A9 #C69225 #25C641
square
#2559C6 #C625A9 #C69225 #25C641
split-complementary
#2559C6 #C64125 #A9C625
monochromatic
#122B5F #1B4292 #2559C6 #4B7ADD #7EA0E7
Accessibility & contrast
On white
6.32
#2559C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#2559C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2559C6
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2559C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2559C6 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2559c6; /* rgb */ color: rgb(37, 89, 198); /* oklch */ color: oklch(49.6% 0.179 262.6);
Tailwind
colors: {
custom: {
50: '#7b87d8',
500: '#2559c6',
950: '#000000',
},
}SCSS
$custom: #2559c6; $custom-light: #7b87d8; $custom-dark: #000000;
JSON
{
"hex": "#2559c6",
"rgb": {
"r": 37,
"g": 89,
"b": 198
},
"hsl": {
"h": 220.621,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.4961,
"c": 0.17931,
"h": 262.6
},
"luminance": 0.11615
}Semantic roles & 50–950 ramp
primary
#2559C6
secondary
#CFB377
accent
#B33CEB
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B15
muted
#7C7C83