#2A59B9#2A59B9
#2A59B9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.161 H 262.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2A59B9 |
|---|---|
| RGB | rgb(42, 89, 185) |
| HSL | hsl(220, 63%, 45%) |
| HSV | hsv(220, 77%, 73%) |
| CMYK | cmyk(77.3%, 51.9%, 0%, 27.5%) |
| CIE-LAB | lab(39.81, 18.89, -55.29) |
| CIE-LCH | lch(39.81, 58.42, 288.86°) |
| OKLab | oklab(48.76% -0.021 -0.1592) |
| OKLCH | oklch(48.76% 0.161 262.5) |
| XYZ | xyz(13.2810, 11.1383, 47.3395) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.45
Denim
#1560BD
ΔE00 3.44
Denim Blue
#3B5B92
ΔE00 4.97
Dusk Blue
#26538D
ΔE00 5.90
Dusky Blue
#475F94
ΔE00 5.99
Cobalt
#0047AB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A59B9 #B98A2A
analogous
#2AA1B9 #2A59B9 #432AB9
triadic
#2A59B9 #B92A59 #59B92A
tetradic
#2A59B9 #B92AA1 #B98A2A #2AB943
square
#2A59B9 #B92AA1 #B98A2A #2AB943
split-complementary
#2A59B9 #B9432A #A1B92A
monochromatic
#132955 #1F4187 #2A59B9 #4A78D6 #7C9DE1
Accessibility & contrast
On white
6.51
#2A59B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2A59B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A59B9
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A59B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A59B9 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1865BC
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a59b9; /* rgb */ color: rgb(42, 89, 185); /* oklch */ color: oklch(48.8% 0.161 262.5);
Tailwind
colors: {
custom: {
50: '#7987cf',
500: '#2a59b9',
950: '#000000',
},
}SCSS
$custom: #2a59b9; $custom-light: #7987cf; $custom-dark: #000000;
JSON
{
"hex": "#2a59b9",
"rgb": {
"r": 42,
"g": 89,
"b": 185
},
"hsl": {
"h": 220.28,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.48763,
"c": 0.16056,
"h": 262.5
},
"luminance": 0.1114
}Semantic roles & 50–950 ramp
primary
#2A59B9
secondary
#CAAE75
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82