#2A309B#2A309B
#2A309B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.170 H 272.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2A309B |
|---|---|
| RGB | rgb(42, 48, 155) |
| HSL | hsl(237, 57%, 39%) |
| HSV | hsv(237, 73%, 61%) |
| CMYK | cmyk(72.9%, 69%, 0%, 39.2%) |
| CIE-LAB | lab(26.65, 34.59, -58.80) |
| CIE-LCH | lch(26.65, 68.22, 300.47°) |
| OKLab | oklab(38.19% 0.0077 -0.17) |
| OKLCH | oklch(38.19% 0.17 272.6) |
| XYZ | xyz(7.9262, 4.9719, 31.5459) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 5.89
Royal
#0C1793
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.46
Ocean Blue
#4F42B5
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A309B #9B952A
analogous
#2A689B #2A309B #5C2A9B
triadic
#2A309B #9B2A30 #309B2A
tetradic
#2A309B #9B2A68 #9B952A #2A9B5C
square
#2A309B #9B2A68 #9B952A #2A9B5C
split-complementary
#2A309B #9B5C2A #689B2A
monochromatic
#10123B #1D216B #2A309B #3941C9 #696FD6
Accessibility & contrast
On white
10.53
#2A309B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2A309B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A309B
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A309B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A309B | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a309b; /* rgb */ color: rgb(42, 48, 155); /* oklch */ color: oklch(38.2% 0.170 272.6);
Tailwind
colors: {
custom: {
50: '#7569ba',
500: '#2a309b',
950: '#000000',
},
}SCSS
$custom: #2a309b; $custom-light: #7569ba; $custom-dark: #000000;
JSON
{
"hex": "#2a309b",
"rgb": {
"r": 42,
"g": 48,
"b": 155
},
"hsl": {
"h": 236.814,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.38194,
"c": 0.17018,
"h": 272.6
},
"luminance": 0.04973
}Semantic roles & 50–950 ramp
primary
#2A309B
secondary
#BDB864
accent
#D847E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81