#2A539C#2A539C
#2A539C is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.128 H 260.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A539C |
|---|---|
| RGB | rgb(42, 83, 156) |
| HSL | hsl(218, 58%, 39%) |
| HSV | hsv(218, 73%, 61%) |
| CMYK | cmyk(73.1%, 46.8%, 0%, 38.8%) |
| CIE-LAB | lab(36.13, 11.69, -44.01) |
| CIE-LCH | lch(36.13, 45.53, 284.88°) |
| OKLab | oklab(45.32% -0.0201 -0.1261) |
| OKLCH | oklch(45.32% 0.128 260.9) |
| XYZ | xyz(10.0467, 9.0780, 32.6688) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.37
Denim Blue
#3B5B92
ΔE00 3.26
Sapphire
#0F52BA
ΔE00 3.76
Cobalt (survey)
#1E488F
ΔE00 3.77
Light Navy Blue
#2E5A88
ΔE00 4.11
Cobalt
#0047AB
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A539C #9C732A
analogous
#2A8C9C #2A539C #3A2A9C
triadic
#2A539C #9C2A53 #539C2A
tetradic
#2A539C #9C2A8C #9C732A #2A9C3A
square
#2A539C #9C2A8C #9C732A #2A9C3A
split-complementary
#2A539C #9C3A2A #8C9C2A
monochromatic
#10203C #1D396C #2A539C #396DCA #6A91D7
Accessibility & contrast
On white
7.46
#2A539C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2A539C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A539C
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A539C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A539C | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a539c; /* rgb */ color: rgb(42, 83, 156); /* oklch */ color: oklch(45.3% 0.128 260.9);
Tailwind
colors: {
custom: {
50: '#7382ba',
500: '#2a539c',
950: '#000000',
},
}SCSS
$custom: #2a539c; $custom-light: #7382ba; $custom-dark: #000000;
JSON
{
"hex": "#2a539c",
"rgb": {
"r": 42,
"g": 83,
"b": 156
},
"hsl": {
"h": 218.421,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.4532,
"c": 0.12769,
"h": 260.9
},
"luminance": 0.09079
}Semantic roles & 50–950 ramp
primary
#2A539C
secondary
#BD9D65
accent
#A947E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80