#2A306C#2A306C
#2A306C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.103 H 275.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A306C |
|---|---|
| RGB | rgb(42, 48, 108) |
| HSL | hsl(235, 44%, 29%) |
| HSV | hsv(235, 61%, 42%) |
| CMYK | cmyk(61.1%, 55.6%, 0%, 57.6%) |
| CIE-LAB | lab(22.61, 17.31, -35.90) |
| CIE-LCH | lch(22.61, 39.86, 295.75°) |
| OKLab | oklab(33.96% 0.0093 -0.1028) |
| OKLCH | oklch(33.96% 0.103 275.2) |
| XYZ | xyz(4.7177, 3.6885, 14.6478) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.94
Navy Blue
#1B2A4A
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.17
Midnight Blue
#191970
ΔE00 7.42
Marine Blue
#01386A
ΔE00 7.83
Blueberry
#464196
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A306C #6C662A
analogous
#2A516C #2A306C #452A6C
triadic
#2A306C #6C2A30 #306C2A
tetradic
#2A306C #6C2A51 #6C662A #2A6C45
square
#2A306C #6C2A51 #6C662A #2A6C45
split-complementary
#2A306C #6C452A #516C2A
monochromatic
#090A16 #191C40 #2A306C #3B4498 #545DBC
Accessibility & contrast
On white
12.08
#2A306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2A306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A306C
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A306C | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D396E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a306c; /* rgb */ color: rgb(42, 48, 108); /* oklch */ color: oklch(34.0% 0.103 275.2);
Tailwind
colors: {
custom: {
50: '#6a6896',
500: '#2a306c',
950: '#000000',
},
}SCSS
$custom: #2a306c; $custom-light: #6a6896; $custom-dark: #000000;
JSON
{
"hex": "#2a306c",
"rgb": {
"r": 42,
"g": 48,
"b": 108
},
"hsl": {
"h": 234.545,
"s": 44,
"l": 29.412
},
"oklch": {
"l": 0.33961,
"c": 0.10322,
"h": 275.2
},
"luminance": 0.03689
}Semantic roles & 50–950 ramp
primary
#2A306C
secondary
#9E9754
accent
#C854D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E