#2A539B#2A539B
#2A539B is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.126 H 260.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2A539B |
|---|---|
| RGB | rgb(42, 83, 155) |
| HSL | hsl(218, 57%, 39%) |
| HSV | hsv(218, 73%, 61%) |
| CMYK | cmyk(72.9%, 46.5%, 0%, 39.2%) |
| CIE-LAB | lab(36.07, 11.31, -43.51) |
| CIE-LCH | lch(36.07, 44.95, 284.57°) |
| OKLab | oklab(45.25% -0.0203 -0.1246) |
| OKLCH | oklch(45.25% 0.126 260.8) |
| XYZ | xyz(9.9624, 9.0442, 32.2247) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.24
Denim Blue
#3B5B92
ΔE00 3.22
Cobalt (survey)
#1E488F
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 3.87
Light Navy Blue
#2E5A88
ΔE00 4.03
Cobalt
#0047AB
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A539B #9B722A
analogous
#2A8B9B #2A539B #392A9B
triadic
#2A539B #9B2A53 #539B2A
tetradic
#2A539B #9B2A8B #9B722A #2A9B39
square
#2A539B #9B2A8B #9B722A #2A9B39
split-complementary
#2A539B #9B392A #8B9B2A
monochromatic
#101F3B #1D396B #2A539B #396DC9 #6991D6
Accessibility & contrast
On white
7.48
#2A539B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2A539B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A539B
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A539B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A539B | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#16509A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a539b; /* rgb */ color: rgb(42, 83, 155); /* oklch */ color: oklch(45.2% 0.126 260.8);
Tailwind
colors: {
custom: {
50: '#7282b9',
500: '#2a539b',
950: '#000000',
},
}SCSS
$custom: #2a539b; $custom-light: #7282b9; $custom-dark: #000000;
JSON
{
"hex": "#2a539b",
"rgb": {
"r": 42,
"g": 83,
"b": 155
},
"hsl": {
"h": 218.23,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.45249,
"c": 0.12627,
"h": 260.8
},
"luminance": 0.09045
}Semantic roles & 50–950 ramp
primary
#2A539B
secondary
#BD9D64
accent
#A947E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80