#2C327F#2C327F
#2C327F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.128 H 274.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C327F |
|---|---|
| RGB | rgb(44, 50, 127) |
| HSL | hsl(236, 49%, 34%) |
| HSV | hsv(236, 65%, 50%) |
| CMYK | cmyk(65.4%, 60.6%, 0%, 50.2%) |
| CIE-LAB | lab(24.79, 23.36, -44.48) |
| CIE-LCH | lch(24.79, 50.24, 297.71°) |
| OKLab | oklab(36.09% 0.0103 -0.1279) |
| OKLCH | oklch(36.09% 0.128 274.6) |
| XYZ | xyz(6.0088, 4.3485, 20.5972) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.31
Blueberry
#464196
ΔE00 5.99
Sapphire (survey)
#2138AB
ΔE00 6.72
Midnight Blue
#191970
ΔE00 7.07
Marine
#042E60
ΔE00 7.48
Royal
#0C1793
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C327F #7F792C
analogous
#2C5B7F #2C327F #4F2C7F
triadic
#2C327F #7F2C32 #327F2C
tetradic
#2C327F #7F2C5B #7F792C #2C7F4F
square
#2C327F #7F2C5B #7F792C #2C7F4F
split-complementary
#2C327F #7F4F2C #5B7F2C
monochromatic
#0D0E24 #1C2052 #2C327F #3C44AC #5E66C7
Accessibility & contrast
On white
11.23
#2C327F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2C327F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C327F
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C327F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C327F | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c327f; /* rgb */ color: rgb(44, 50, 127); /* oklch */ color: oklch(36.1% 0.128 274.6);
Tailwind
colors: {
custom: {
50: '#6f69a5',
500: '#2c327f',
950: '#000000',
},
}SCSS
$custom: #2c327f; $custom-light: #6f69a5; $custom-dark: #000000;
JSON
{
"hex": "#2c327f",
"rgb": {
"r": 44,
"g": 50,
"b": 127
},
"hsl": {
"h": 235.663,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.36093,
"c": 0.12836,
"h": 274.6
},
"luminance": 0.04349
}Semantic roles & 50–950 ramp
primary
#2C327F
secondary
#ADA759
accent
#CE50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F