#2D386F#2D386F
#2D386F is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.095 H 272.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D386F |
|---|---|
| RGB | rgb(45, 56, 111) |
| HSL | hsl(230, 42%, 31%) |
| HSV | hsv(230, 59%, 44%) |
| CMYK | cmyk(59.5%, 49.5%, 0%, 56.5%) |
| CIE-LAB | lab(25.36, 13.51, -33.40) |
| CIE-LCH | lch(25.36, 36.03, 292.02°) |
| OKLab | oklab(36.16% 0.0038 -0.0953) |
| OKLCH | oklch(36.16% 0.095 272.3) |
| XYZ | xyz(5.3647, 4.5335, 15.6282) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.85
Marine Blue
#01386A
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.84
Navy Blue
#1B2A4A
ΔE00 7.35
Darkish Blue
#014182
ΔE00 7.37
Blueberry
#464196
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D386F #6F642D
analogous
#2D596F #2D386F #432D6F
triadic
#2D386F #6F2D38 #386F2D
tetradic
#2D386F #6F2D59 #6F642D #2D6F43
square
#2D386F #6F2D59 #6F642D #2D6F43
split-complementary
#2D386F #6F432D #596F2D
monochromatic
#0A0C18 #1B2243 #2D386F #3F4E9B #5A6BBC
Accessibility & contrast
On white
11.01
#2D386F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2D386F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D386F
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D386F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D386F | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#15396E
Tritanopia (blue-blind)
#05444E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2d386f; /* rgb */ color: rgb(45, 56, 111); /* oklch */ color: oklch(36.2% 0.095 272.3);
Tailwind
colors: {
custom: {
50: '#6c6e99',
500: '#2d386f',
950: '#000000',
},
}SCSS
$custom: #2d386f; $custom-light: #6c6e99; $custom-dark: #000000;
JSON
{
"hex": "#2d386f",
"rgb": {
"r": 45,
"g": 56,
"b": 111
},
"hsl": {
"h": 230,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.36162,
"c": 0.09535,
"h": 272.3
},
"luminance": 0.04534
}Semantic roles & 50–950 ramp
primary
#2D386F
secondary
#A19457
accent
#BD56D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E