#2D396C#2D396C
#2D396C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.089 H 271.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2D396C |
|---|---|
| RGB | rgb(45, 57, 108) |
| HSL | hsl(229, 41%, 30%) |
| HSV | hsv(229, 58%, 42%) |
| CMYK | cmyk(58.3%, 47.2%, 0%, 57.6%) |
| CIE-LAB | lab(25.46, 11.72, -31.32) |
| CIE-LCH | lch(25.46, 33.44, 290.51°) |
| OKLab | oklab(36.17% 0.0021 -0.0891) |
| OKLCH | oklch(36.17% 0.089 271.4) |
| XYZ | xyz(5.2512, 4.5665, 14.7892) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.76
Marine Blue
#01386A
ΔE00 6.34
Navy Blue
#1B2A4A
ΔE00 6.95
Darkish Blue
#014182
ΔE00 7.31
Darkslateblue
#483D8B
ΔE00 7.40
Twilight Blue
#0A437A
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D396C #6C602D
analogous
#2D596C #2D396C #402D6C
triadic
#2D396C #6C2D39 #396C2D
tetradic
#2D396C #6C2D59 #6C602D #2D6C40
square
#2D396C #6C2D59 #6C602D #2D6C40
split-complementary
#2D396C #6C402D #596C2D
monochromatic
#090B16 #1B2241 #2D396C #3F5097 #596CBA
Accessibility & contrast
On white
10.98
#2D396C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2D396C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D396C
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D396C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D396C | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#1B3A6B
Tritanopia (blue-blind)
#0A444D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2d396c; /* rgb */ color: rgb(45, 57, 108); /* oklch */ color: oklch(36.2% 0.089 271.4);
Tailwind
colors: {
custom: {
50: '#6b6f96',
500: '#2d396c',
950: '#000000',
},
}SCSS
$custom: #2d396c; $custom-light: #6b6f96; $custom-dark: #000000;
JSON
{
"hex": "#2d396c",
"rgb": {
"r": 45,
"g": 57,
"b": 108
},
"hsl": {
"h": 228.571,
"s": 41.176,
"l": 30
},
"oklch": {
"l": 0.36174,
"c": 0.08917,
"h": 271.4
},
"luminance": 0.04567
}Semantic roles & 50–950 ramp
primary
#2D396C
secondary
#9E9057
accent
#BA57D1
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070D
muted
#7A7A7E