#2A308F#2A308F
#2A308F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.154 H 273.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A308F |
|---|---|
| RGB | rgb(42, 48, 143) |
| HSL | hsl(236, 55%, 36%) |
| HSV | hsv(236, 71%, 56%) |
| CMYK | cmyk(70.6%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(25.53, 30.26, -53.27) |
| CIE-LCH | lch(25.53, 61.26, 299.60°) |
| OKLab | oklab(37.03% 0.0089 -0.1538) |
| OKLCH | oklch(37.03% 0.154 273.3) |
| XYZ | xyz(6.9681, 4.5887, 26.4998) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.49
Blueberry
#464196
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 5.77
Royal
#0C1793
ΔE00 6.39
Midnight Blue
#191970
ΔE00 7.19
Indigo Blue
#3A18B1
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A308F #8F892A
analogous
#2A638F #2A308F #572A8F
triadic
#2A308F #8F2A30 #308F2A
tetradic
#2A308F #8F2A63 #8F892A #2A8F57
square
#2A308F #8F2A63 #8F892A #2A8F57
split-complementary
#2A308F #8F572A #638F2A
monochromatic
#0E1030 #1C2060 #2A308F #3840BE #6269D1
Accessibility & contrast
On white
10.95
#2A308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2A308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A308F
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A308F | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a308f; /* rgb */ color: rgb(42, 48, 143); /* oklch */ color: oklch(37.0% 0.154 273.3);
Tailwind
colors: {
custom: {
50: '#7268b1',
500: '#2a308f',
950: '#000000',
},
}SCSS
$custom: #2a308f; $custom-light: #7268b1; $custom-dark: #000000;
JSON
{
"hex": "#2a308f",
"rgb": {
"r": 42,
"g": 48,
"b": 143
},
"hsl": {
"h": 236.436,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.37031,
"c": 0.15407,
"h": 273.3
},
"luminance": 0.04589
}Semantic roles & 50–950 ramp
primary
#2A308F
secondary
#B7B25E
accent
#D54ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80