#2A309D#2A309D
#2A309D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.173 H 272.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A309D |
|---|---|
| RGB | rgb(42, 48, 157) |
| HSL | hsl(237, 58%, 39%) |
| HSV | hsv(237, 73%, 62%) |
| CMYK | cmyk(73.2%, 69.4%, 0%, 38.4%) |
| CIE-LAB | lab(26.85, 35.30, -59.70) |
| CIE-LCH | lch(26.85, 69.36, 300.60°) |
| OKLab | oklab(38.39% 0.0075 -0.1726) |
| OKLCH | oklch(38.39% 0.173 272.5) |
| XYZ | xyz(8.0956, 5.0397, 32.4379) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.05
Blueberry
#464196
ΔE00 5.95
Royal
#0C1793
ΔE00 6.19
Indigo Blue
#3A18B1
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.50
Ocean Blue
#4F42B5
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A309D #9D972A
analogous
#2A6A9D #2A309D #5E2A9D
triadic
#2A309D #9D2A30 #309D2A
tetradic
#2A309D #9D2A6A #9D972A #2A9D5E
square
#2A309D #9D2A6A #9D972A #2A9D5E
split-complementary
#2A309D #9D5E2A #6A9D2A
monochromatic
#10123C #1D216D #2A309D #3A41CA #6A70D7
Accessibility & contrast
On white
10.46
#2A309D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2A309D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A309D
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A309D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A309D | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a309d; /* rgb */ color: rgb(42, 48, 157); /* oklch */ color: oklch(38.4% 0.173 272.5);
Tailwind
colors: {
custom: {
50: '#7569bb',
500: '#2a309d',
950: '#000000',
},
}SCSS
$custom: #2a309d; $custom-light: #7569bb; $custom-dark: #000000;
JSON
{
"hex": "#2a309d",
"rgb": {
"r": 42,
"g": 48,
"b": 157
},
"hsl": {
"h": 236.87,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.38392,
"c": 0.1728,
"h": 272.5
},
"luminance": 0.0504
}Semantic roles & 50–950 ramp
primary
#2A309D
secondary
#BEB965
accent
#D947E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81