#2A309C#2A309C
#2A309C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.171 H 272.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A309C |
|---|---|
| RGB | rgb(42, 48, 156) |
| HSL | hsl(237, 58%, 39%) |
| HSV | hsv(237, 73%, 61%) |
| CMYK | cmyk(73.1%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.75, 34.95, -59.25) |
| CIE-LCH | lch(26.75, 68.79, 300.53°) |
| OKLab | oklab(38.29% 0.0076 -0.1713) |
| OKLCH | oklch(38.29% 0.171 272.5) |
| XYZ | xyz(8.0105, 5.0056, 31.9901) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Blueberry
#464196
ΔE00 5.92
Royal
#0C1793
ΔE00 6.17
Indigo Blue
#3A18B1
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A309C #9C962A
analogous
#2A699C #2A309C #5D2A9C
triadic
#2A309C #9C2A30 #309C2A
tetradic
#2A309C #9C2A69 #9C962A #2A9C5D
square
#2A309C #9C2A69 #9C962A #2A9C5D
split-complementary
#2A309C #9C5D2A #699C2A
monochromatic
#10123C #1D216C #2A309C #3941CA #6A6FD7
Accessibility & contrast
On white
10.49
#2A309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A309C
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A309C | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a309c; /* rgb */ color: rgb(42, 48, 156); /* oklch */ color: oklch(38.3% 0.171 272.5);
Tailwind
colors: {
custom: {
50: '#7569ba',
500: '#2a309c',
950: '#000000',
},
}SCSS
$custom: #2a309c; $custom-light: #7569ba; $custom-dark: #000000;
JSON
{
"hex": "#2a309c",
"rgb": {
"r": 42,
"g": 48,
"b": 156
},
"hsl": {
"h": 236.842,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.38293,
"c": 0.17149,
"h": 272.5
},
"luminance": 0.05006
}Semantic roles & 50–950 ramp
primary
#2A309C
secondary
#BDB965
accent
#D947E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81