#2A3B99#2A3B99
#2A3B99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.154 H 270.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B99 |
|---|---|
| RGB | rgb(42, 59, 153) |
| HSL | hsl(231, 57%, 38%) |
| HSV | hsv(231, 73%, 60%) |
| CMYK | cmyk(72.5%, 61.4%, 0%, 40%) |
| CIE-LAB | lab(29.21, 26.67, -53.40) |
| CIE-LCH | lch(29.21, 59.69, 296.54°) |
| OKLab | oklab(40.01% 0.0001 -0.1541) |
| OKLCH | oklch(40.01% 0.154 270) |
| XYZ | xyz(8.2666, 5.9192, 30.8377) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Blueberry
#464196
ΔE00 4.39
Cobalt
#0047AB
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 6.13
Blue Blue
#2242C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B99 #99882A
analogous
#2A7299 #2A3B99 #502A99
triadic
#2A3B99 #992A3B #3B992A
tetradic
#2A3B99 #992A72 #99882A #2A9950
square
#2A3B99 #992A72 #99882A #2A9950
split-complementary
#2A3B99 #99502A #72992A
monochromatic
#101639 #1D2869 #2A3B99 #384EC8 #6879D6
Accessibility & contrast
On white
9.62
#2A3B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2A3B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B99
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B99 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a3b99; /* rgb */ color: rgb(42, 59, 153); /* oklch */ color: oklch(40.0% 0.154 270.0);
Tailwind
colors: {
custom: {
50: '#7370b8',
500: '#2a3b99',
950: '#000000',
},
}SCSS
$custom: #2a3b99; $custom-light: #7370b8; $custom-dark: #000000;
JSON
{
"hex": "#2a3b99",
"rgb": {
"r": 42,
"g": 59,
"b": 153
},
"hsl": {
"h": 230.811,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.40011,
"c": 0.1541,
"h": 270
},
"luminance": 0.0592
}Semantic roles & 50–950 ramp
primary
#2A3B99
secondary
#BCAE63
accent
#C948E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80