#2A307E#2A307E
#2A307E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.130 H 274.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A307E |
|---|---|
| RGB | rgb(42, 48, 126) |
| HSL | hsl(236, 50%, 33%) |
| HSV | hsv(236, 67%, 49%) |
| CMYK | cmyk(66.7%, 61.9%, 0%, 50.6%) |
| CIE-LAB | lab(24.04, 24.00, -45.08) |
| CIE-LCH | lch(24.04, 51.07, 298.03°) |
| OKLab | oklab(35.47% 0.0098 -0.1298) |
| OKLCH | oklch(35.47% 0.13 274.3) |
| XYZ | xyz(5.7764, 4.1120, 20.2239) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.75
Midnight Blue
#191970
ΔE00 6.48
Blueberry
#464196
ΔE00 6.48
Sapphire (survey)
#2138AB
ΔE00 6.91
Marine
#042E60
ΔE00 7.41
Royal
#0C1793
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A307E #7E782A
analogous
#2A5A7E #2A307E #4E2A7E
triadic
#2A307E #7E2A30 #307E2A
tetradic
#2A307E #7E2A5A #7E782A #2A7E4E
square
#2A307E #7E2A5A #7E782A #2A7E4E
split-complementary
#2A307E #7E4E2A #5A7E2A
monochromatic
#0B0D22 #1B1F50 #2A307E #3941AC #5A62C8
Accessibility & contrast
On white
11.52
#2A307E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2A307E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A307E
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A307E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A307E | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2a307e; /* rgb */ color: rgb(42, 48, 126); /* oklch */ color: oklch(35.5% 0.130 274.3);
Tailwind
colors: {
custom: {
50: '#6e68a4',
500: '#2a307e',
950: '#000000',
},
}SCSS
$custom: #2a307e; $custom-light: #6e68a4; $custom-dark: #000000;
JSON
{
"hex": "#2a307e",
"rgb": {
"r": 42,
"g": 48,
"b": 126
},
"hsl": {
"h": 235.714,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.35473,
"c": 0.13016,
"h": 274.3
},
"luminance": 0.04113
}Semantic roles & 50–950 ramp
primary
#2A307E
secondary
#AEA756
accent
#D04EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F