#2D396F#2D396F
#2D396F is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.094 H 271.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D396F |
|---|---|
| RGB | rgb(45, 57, 111) |
| HSL | hsl(229, 42%, 31%) |
| HSV | hsv(229, 59%, 44%) |
| CMYK | cmyk(59.5%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(25.66, 12.82, -32.93) |
| CIE-LCH | lch(25.66, 35.34, 291.27°) |
| OKLab | oklab(36.39% 0.0026 -0.0939) |
| OKLCH | oklch(36.39% 0.094 271.6) |
| XYZ | xyz(5.4136, 4.6314, 15.6445) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.84
Marine Blue
#01386A
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.97
Darkish Blue
#014182
ΔE00 7.11
Navy Blue
#1B2A4A
ΔE00 7.37
Twilight Blue
#0A437A
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D396F #6F632D
analogous
#2D5A6F #2D396F #422D6F
triadic
#2D396F #6F2D39 #396F2D
tetradic
#2D396F #6F2D5A #6F632D #2D6F42
square
#2D396F #6F2D5A #6F632D #2D6F42
split-complementary
#2D396F #6F422D #5A6F2D
monochromatic
#0A0C18 #1B2343 #2D396F #3F4F9B #5A6CBC
Accessibility & contrast
On white
10.90
#2D396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2D396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D396F
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D396F | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204071
Deuteranopia (green-blind)
#173A6E
Tritanopia (blue-blind)
#05454E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d396f; /* rgb */ color: rgb(45, 57, 111); /* oklch */ color: oklch(36.4% 0.094 271.6);
Tailwind
colors: {
custom: {
50: '#6c6f99',
500: '#2d396f',
950: '#000000',
},
}SCSS
$custom: #2d396f; $custom-light: #6c6f99; $custom-dark: #000000;
JSON
{
"hex": "#2d396f",
"rgb": {
"r": 45,
"g": 57,
"b": 111
},
"hsl": {
"h": 229.091,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.36387,
"c": 0.0939,
"h": 271.6
},
"luminance": 0.04632
}Semantic roles & 50–950 ramp
primary
#2D396F
secondary
#A19357
accent
#BB56D2
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E