#2A59B7#2A59B7
#2A59B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.6% C 0.158 H 262.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2A59B7 |
|---|---|
| RGB | rgb(42, 89, 183) |
| HSL | hsl(220, 63%, 44%) |
| HSV | hsv(220, 77%, 72%) |
| CMYK | cmyk(77%, 51.4%, 0%, 28.2%) |
| CIE-LAB | lab(39.67, 18.12, -54.34) |
| CIE-LCH | lch(39.67, 57.28, 288.44°) |
| OKLab | oklab(48.61% -0.0213 -0.1564) |
| OKLCH | oklch(48.61% 0.158 262.2) |
| XYZ | xyz(13.0714, 11.0544, 46.2354) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.44
Denim
#1560BD
ΔE00 3.38
Denim Blue
#3B5B92
ΔE00 4.75
Dusk Blue
#26538D
ΔE00 5.65
Light Navy Blue
#2E5A88
ΔE00 5.83
Dusky Blue
#475F94
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A59B7 #B7882A
analogous
#2AA0B7 #2A59B7 #422AB7
triadic
#2A59B7 #B72A59 #59B72A
tetradic
#2A59B7 #B72AA0 #B7882A #2AB742
square
#2A59B7 #B72AA0 #B7882A #2AB742
split-complementary
#2A59B7 #B7422A #A0B72A
monochromatic
#132953 #1F4185 #2A59B7 #4978D5 #7B9DE1
Accessibility & contrast
On white
6.54
#2A59B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2A59B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A59B7
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A59B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A59B7 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C64BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a59b7; /* rgb */ color: rgb(42, 89, 183); /* oklch */ color: oklch(48.6% 0.158 262.2);
Tailwind
colors: {
custom: {
50: '#7887cd',
500: '#2a59b7',
950: '#000000',
},
}SCSS
$custom: #2a59b7; $custom-light: #7887cd; $custom-dark: #000000;
JSON
{
"hex": "#2a59b7",
"rgb": {
"r": 42,
"g": 89,
"b": 183
},
"hsl": {
"h": 220,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.48611,
"c": 0.15783,
"h": 262.2
},
"luminance": 0.11056
}Semantic roles & 50–950 ramp
primary
#2A59B7
secondary
#C9AD74
accent
#AF42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82