#2A3B97#2A3B97
#2A3B97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.151 H 270.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B97 |
|---|---|
| RGB | rgb(42, 59, 151) |
| HSL | hsl(231, 56%, 38%) |
| HSV | hsv(231, 72%, 59%) |
| CMYK | cmyk(72.2%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.04, 25.92, -52.45) |
| CIE-LCH | lch(29.04, 58.50, 296.30°) |
| OKLab | oklab(39.83% 0.0001 -0.1513) |
| OKLCH | oklch(39.83% 0.151 270) |
| XYZ | xyz(8.1028, 5.8537, 29.9750) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Blueberry
#464196
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 5.59
Cobalt
#0047AB
ΔE00 5.66
Cobalt (survey)
#1E488F
ΔE00 6.00
Blue Blue
#2242C7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B97 #97862A
analogous
#2A7297 #2A3B97 #4F2A97
triadic
#2A3B97 #972A3B #3B972A
tetradic
#2A3B97 #972A72 #97862A #2A974F
square
#2A3B97 #972A72 #97862A #2A974F
split-complementary
#2A3B97 #974F2A #72972A
monochromatic
#0F1637 #1D2867 #2A3B97 #374EC7 #6778D5
Accessibility & contrast
On white
9.67
#2A3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2A3B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B97
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B97 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a3b97; /* rgb */ color: rgb(42, 59, 151); /* oklch */ color: oklch(39.8% 0.151 270.0);
Tailwind
colors: {
custom: {
50: '#7370b6',
500: '#2a3b97',
950: '#000000',
},
}SCSS
$custom: #2a3b97; $custom-light: #7370b6; $custom-dark: #000000;
JSON
{
"hex": "#2a3b97",
"rgb": {
"r": 42,
"g": 59,
"b": 151
},
"hsl": {
"h": 230.642,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.39834,
"c": 0.15132,
"h": 270
},
"luminance": 0.05855
}Semantic roles & 50–950 ramp
primary
#2A3B97
secondary
#BBAD62
accent
#C848E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80