#2A396C#2A396C
#2A396C is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.090 H 269.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2A396C |
|---|---|
| RGB | rgb(42, 57, 108) |
| HSL | hsl(226, 44%, 29%) |
| HSV | hsv(226, 61%, 42%) |
| CMYK | cmyk(61.1%, 47.2%, 0%, 57.6%) |
| CIE-LAB | lab(25.26, 11.03, -31.65) |
| CIE-LCH | lch(25.26, 33.52, 289.21°) |
| OKLab | oklab(35.97% -0.0013 -0.0902) |
| OKLCH | oklch(35.97% 0.09 269.2) |
| XYZ | xyz(5.1238, 4.5008, 14.7832) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.22
Marine Blue
#01386A
ΔE00 5.65
Darkish Blue
#014182
ΔE00 6.70
Navy Blue
#1B2A4A
ΔE00 6.81
Twilight Blue
#0A437A
ΔE00 6.95
Cobalt (survey)
#1E488F
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A396C #6C5D2A
analogous
#2A5A6C #2A396C #3C2A6C
triadic
#2A396C #6C2A39 #396C2A
tetradic
#2A396C #6C2A5A #6C5D2A #2A6C3C
square
#2A396C #6C2A5A #6C5D2A #2A6C3C
split-complementary
#2A396C #6C3C2A #5A6C2A
monochromatic
#090C16 #192240 #2A396C #3B5098 #546CBC
Accessibility & contrast
On white
11.05
#2A396C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2A396C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A396C
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A396C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A396C | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#19396B
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a396c; /* rgb */ color: rgb(42, 57, 108); /* oklch */ color: oklch(36.0% 0.090 269.2);
Tailwind
colors: {
custom: {
50: '#6a6f96',
500: '#2a396c',
950: '#000000',
},
}SCSS
$custom: #2a396c; $custom-light: #6a6f96; $custom-dark: #000000;
JSON
{
"hex": "#2a396c",
"rgb": {
"r": 42,
"g": 57,
"b": 108
},
"hsl": {
"h": 226.364,
"s": 44,
"l": 29.412
},
"oklch": {
"l": 0.35969,
"c": 0.0902,
"h": 269.2
},
"luminance": 0.04501
}Semantic roles & 50–950 ramp
primary
#2A396C
secondary
#9E8D54
accent
#B754D4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E