#2A59C1#2A59C1
#2A59C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.171 H 263.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A59C1 |
|---|---|
| RGB | rgb(42, 89, 193) |
| HSL | hsl(221, 64%, 46%) |
| HSV | hsv(221, 78%, 76%) |
| CMYK | cmyk(78.2%, 53.9%, 0%, 24.3%) |
| CIE-LAB | lab(40.39, 21.95, -59.03) |
| CIE-LCH | lch(40.39, 62.97, 290.40°) |
| OKLab | oklab(49.38% -0.0202 -0.1702) |
| OKLCH | oklch(49.38% 0.171 263.2) |
| XYZ | xyz(14.1494, 11.4856, 51.9130) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.76
Denim
#1560BD
ΔE00 3.82
Azul
#1D5DEC
ΔE00 5.44
Denim Blue
#3B5B92
ΔE00 5.90
Warm Blue
#4B57DB
ΔE00 6.23
Cobalt
#0047AB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A59C1 #C1922A
analogous
#2AA4C1 #2A59C1 #472AC1
triadic
#2A59C1 #C12A59 #59C12A
tetradic
#2A59C1 #C12AA4 #C1922A #2AC147
square
#2A59C1 #C12AA4 #C1922A #2AC147
split-complementary
#2A59C1 #C1472A #A4C12A
monochromatic
#142B5C #1F428F #2A59C1 #4F7AD9 #82A0E4
Accessibility & contrast
On white
6.37
#2A59C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2A59C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A59C1
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A59C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A59C1 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a59c1; /* rgb */ color: rgb(42, 89, 193); /* oklch */ color: oklch(49.4% 0.171 263.2);
Tailwind
colors: {
custom: {
50: '#7b87d4',
500: '#2a59c1',
950: '#000000',
},
}SCSS
$custom: #2a59c1; $custom-light: #7b87d4; $custom-dark: #000000;
JSON
{
"hex": "#2a59c1",
"rgb": {
"r": 42,
"g": 89,
"b": 193
},
"hsl": {
"h": 221.325,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.49381,
"c": 0.17138,
"h": 263.2
},
"luminance": 0.11487
}Semantic roles & 50–950 ramp
primary
#2A59C1
secondary
#CDB37A
accent
#B341E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83