#2C386A#2C386A
#2C386A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.088 H 271.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C386A |
|---|---|
| RGB | rgb(44, 56, 106) |
| HSL | hsl(228, 41%, 29%) |
| HSV | hsv(228, 58%, 42%) |
| CMYK | cmyk(58.5%, 47.2%, 0%, 58.4%) |
| CIE-LAB | lab(24.96, 11.44, -30.83) |
| CIE-LCH | lch(24.96, 32.89, 290.36°) |
| OKLab | oklab(35.74% 0.0019 -0.0877) |
| OKLCH | oklch(35.74% 0.088 271.2) |
| XYZ | xyz(5.0535, 4.4041, 14.2166) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.54
Marine Blue
#01386A
ΔE00 6.32
Navy Blue
#1B2A4A
ΔE00 6.57
Darkish Blue
#014182
ΔE00 7.50
Darkslateblue
#483D8B
ΔE00 7.70
Twilight Blue
#0A437A
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C386A #6A5E2C
analogous
#2C576A #2C386A #3F2C6A
triadic
#2C386A #6A2C38 #386A2C
tetradic
#2C386A #6A2C57 #6A5E2C #2C6A3F
square
#2C386A #6A2C57 #6A5E2C #2C6A3F
split-complementary
#2C386A #6A3F2C #576A2C
monochromatic
#090B16 #1A213F #2C386A #3E4F95 #576AB9
Accessibility & contrast
On white
11.17
#2C386A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C386A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C386A
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C386A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C386A | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223E6C
Deuteranopia (green-blind)
#1A3969
Tritanopia (blue-blind)
#09434B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c386a; /* rgb */ color: rgb(44, 56, 106); /* oklch */ color: oklch(35.7% 0.088 271.2);
Tailwind
colors: {
custom: {
50: '#6b6e95',
500: '#2c386a',
950: '#000000',
},
}SCSS
$custom: #2c386a; $custom-light: #6b6e95; $custom-dark: #000000;
JSON
{
"hex": "#2c386a",
"rgb": {
"r": 44,
"g": 56,
"b": 106
},
"hsl": {
"h": 228.387,
"s": 41.333,
"l": 29.412
},
"oklch": {
"l": 0.35735,
"c": 0.08777,
"h": 271.2
},
"luminance": 0.04404
}Semantic roles & 50–950 ramp
primary
#2C386A
secondary
#9C8E56
accent
#B957D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E