#2A3B9D#2A3B9D
#2A3B9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.160 H 270.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B9D |
|---|---|
| RGB | rgb(42, 59, 157) |
| HSL | hsl(231, 58%, 39%) |
| HSV | hsv(231, 73%, 62%) |
| CMYK | cmyk(73.2%, 62.4%, 0%, 38.4%) |
| CIE-LAB | lab(29.55, 28.17, -55.28) |
| CIE-LCH | lch(29.55, 62.04, 297.00°) |
| OKLab | oklab(40.37% 0.0001 -0.1596) |
| OKLCH | oklch(40.37% 0.16 270) |
| XYZ | xyz(8.6025, 6.0536, 32.6068) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.29
Blueberry
#464196
ΔE00 4.46
Cobalt
#0047AB
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 5.87
Blue Blue
#2242C7
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B9D #9D8C2A
analogous
#2A759D #2A3B9D #522A9D
triadic
#2A3B9D #9D2A3B #3B9D2A
tetradic
#2A3B9D #9D2A75 #9D8C2A #2A9D52
square
#2A3B9D #9D2A75 #9D8C2A #2A9D52
split-complementary
#2A3B9D #9D522A #759D2A
monochromatic
#10173C #1D296D #2A3B9D #3A4FCA #6A7AD7
Accessibility & contrast
On white
9.50
#2A3B9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2A3B9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B9D
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B9D | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3b9d; /* rgb */ color: rgb(42, 59, 157); /* oklch */ color: oklch(40.4% 0.160 270.0);
Tailwind
colors: {
custom: {
50: '#7470bb',
500: '#2a3b9d',
950: '#000000',
},
}SCSS
$custom: #2a3b9d; $custom-light: #7470bb; $custom-dark: #000000;
JSON
{
"hex": "#2a3b9d",
"rgb": {
"r": 42,
"g": 59,
"b": 157
},
"hsl": {
"h": 231.13,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.40368,
"c": 0.15962,
"h": 270
},
"luminance": 0.06054
}Semantic roles & 50–950 ramp
primary
#2A3B9D
secondary
#BEB165
accent
#CA47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81