#2A589B#2A589B
#2A589B is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.120 H 258.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A589B |
|---|---|
| RGB | rgb(42, 88, 155) |
| HSL | hsl(216, 57%, 39%) |
| HSV | hsv(216, 73%, 61%) |
| CMYK | cmyk(72.9%, 43.2%, 0%, 39.2%) |
| CIE-LAB | lab(37.55, 8.02, -41.14) |
| CIE-LCH | lch(37.55, 41.91, 281.03°) |
| OKLab | oklab(46.39% -0.025 -0.1176) |
| OKLCH | oklch(46.39% 0.12 258) |
| XYZ | xyz(10.3588, 9.8371, 32.3568) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.31
Denim Blue
#3B5B92
ΔE00 2.50
Light Navy Blue
#2E5A88
ΔE00 2.84
Sapphire
#0F52BA
ΔE00 4.34
Light Navy
#155084
ΔE00 4.50
Denim (survey)
#3B638C
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A589B #9B6D2A
analogous
#2A909B #2A589B #342A9B
triadic
#2A589B #9B2A58 #589B2A
tetradic
#2A589B #9B2A90 #9B6D2A #2A9B34
square
#2A589B #9B2A90 #9B6D2A #2A9B34
split-complementary
#2A589B #9B342A #909B2A
monochromatic
#10213B #1D3D6B #2A589B #3974C9 #6996D6
Accessibility & contrast
On white
7.08
#2A589B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2A589B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A589B
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A589B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A589B | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#24549A
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a589b; /* rgb */ color: rgb(42, 88, 155); /* oklch */ color: oklch(46.4% 0.120 258.0);
Tailwind
colors: {
custom: {
50: '#7286b9',
500: '#2a589b',
950: '#000000',
},
}SCSS
$custom: #2a589b; $custom-light: #7286b9; $custom-dark: #000000;
JSON
{
"hex": "#2a589b",
"rgb": {
"r": 42,
"g": 88,
"b": 155
},
"hsl": {
"h": 215.575,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.46391,
"c": 0.12021,
"h": 258
},
"luminance": 0.09838
}Semantic roles & 50–950 ramp
primary
#2A589B
secondary
#BD9964
accent
#A247E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80