#2A3B98#2A3B98
#2A3B98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.153 H 270.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B98 |
|---|---|
| RGB | rgb(42, 59, 152) |
| HSL | hsl(231, 57%, 38%) |
| HSV | hsv(231, 72%, 60%) |
| CMYK | cmyk(72.4%, 61.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.12, 26.29, -52.92) |
| CIE-LCH | lch(29.12, 59.10, 296.42°) |
| OKLab | oklab(39.92% 0.0001 -0.1527) |
| OKLCH | oklch(39.92% 0.153 270) |
| XYZ | xyz(8.1844, 5.8863, 30.4045) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Blueberry
#464196
ΔE00 4.39
Cobalt
#0047AB
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.62
Cobalt (survey)
#1E488F
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B98 #98872A
analogous
#2A7298 #2A3B98 #502A98
triadic
#2A3B98 #982A3B #3B982A
tetradic
#2A3B98 #982A72 #98872A #2A9850
square
#2A3B98 #982A72 #98872A #2A9850
split-complementary
#2A3B98 #98502A #72982A
monochromatic
#101638 #1D2868 #2A3B98 #374EC8 #6778D5
Accessibility & contrast
On white
9.64
#2A3B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2A3B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B98
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B98 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a3b98; /* rgb */ color: rgb(42, 59, 152); /* oklch */ color: oklch(39.9% 0.153 270.0);
Tailwind
colors: {
custom: {
50: '#7370b7',
500: '#2a3b98',
950: '#000000',
},
}SCSS
$custom: #2a3b98; $custom-light: #7370b7; $custom-dark: #000000;
JSON
{
"hex": "#2a3b98",
"rgb": {
"r": 42,
"g": 59,
"b": 152
},
"hsl": {
"h": 230.727,
"s": 56.701,
"l": 38.039
},
"oklch": {
"l": 0.39922,
"c": 0.15271,
"h": 270
},
"luminance": 0.05887
}Semantic roles & 50–950 ramp
primary
#2A3B98
secondary
#BBAE62
accent
#C848E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80