#2C396F#2C396F
#2C396F is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.094 H 270.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2C396F |
|---|---|
| RGB | rgb(44, 57, 111) |
| HSL | hsl(228, 43%, 30%) |
| HSV | hsv(228, 60%, 44%) |
| CMYK | cmyk(60.4%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(25.59, 12.59, -33.04) |
| CIE-LCH | lch(25.59, 35.36, 290.86°) |
| OKLab | oklab(36.32% 0.0015 -0.0942) |
| OKLCH | oklch(36.32% 0.094 270.9) |
| XYZ | xyz(5.3701, 4.6090, 15.6425) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.66
Marine Blue
#01386A
ΔE00 6.13
Darkish Blue
#014182
ΔE00 6.91
Darkslateblue
#483D8B
ΔE00 7.11
Twilight Blue
#0A437A
ΔE00 7.27
Navy Blue
#1B2A4A
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C396F #6F622C
analogous
#2C5A6F #2C396F #402C6F
triadic
#2C396F #6F2C39 #396F2C
tetradic
#2C396F #6F2C5A #6F622C #2C6F40
square
#2C396F #6F2C5A #6F622C #2C6F40
split-complementary
#2C396F #6F402C #5A6F2C
monochromatic
#090C17 #1B2243 #2C396F #3D509B #586CBD
Accessibility & contrast
On white
10.93
#2C396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2C396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C396F
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C396F | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204071
Deuteranopia (green-blind)
#163A6E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c396f; /* rgb */ color: rgb(44, 57, 111); /* oklch */ color: oklch(36.3% 0.094 270.9);
Tailwind
colors: {
custom: {
50: '#6b6f99',
500: '#2c396f',
950: '#000000',
},
}SCSS
$custom: #2c396f; $custom-light: #6b6f99; $custom-dark: #000000;
JSON
{
"hex": "#2c396f",
"rgb": {
"r": 44,
"g": 57,
"b": 111
},
"hsl": {
"h": 228.358,
"s": 43.226,
"l": 30.392
},
"oklch": {
"l": 0.36318,
"c": 0.09423,
"h": 270.9
},
"luminance": 0.04609
}Semantic roles & 50–950 ramp
primary
#2C396F
secondary
#A19256
accent
#BB55D3
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E