#2C2F80#2C2F80
#2C2F80 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.134 H 275.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F80 |
|---|---|
| RGB | rgb(44, 47, 128) |
| HSL | hsl(238, 49%, 34%) |
| HSV | hsv(238, 66%, 50%) |
| CMYK | cmyk(65.6%, 63.3%, 0%, 49.8%) |
| CIE-LAB | lab(24.09, 25.75, -46.26) |
| CIE-LCH | lch(24.09, 52.94, 299.10°) |
| OKLab | oklab(35.6% 0.0131 -0.1332) |
| OKLCH | oklch(35.6% 0.134 275.6) |
| XYZ | xyz(5.9502, 4.1265, 20.9008) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.58
Midnight Blue
#191970
ΔE00 6.19
Blueberry
#464196
ΔE00 6.36
Sapphire (survey)
#2138AB
ΔE00 6.73
Royal
#0C1793
ΔE00 7.30
Marine
#042E60
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F80 #807D2C
analogous
#2C5980 #2C2F80 #532C80
triadic
#2C2F80 #802C2F #2F802C
tetradic
#2C2F80 #802C59 #807D2C #2C8053
square
#2C2F80 #802C59 #807D2C #2C8053
split-complementary
#2C2F80 #80532C #59802C
monochromatic
#0D0E25 #1C1E52 #2C2F80 #3C40AE #5F62C8
Accessibility & contrast
On white
11.50
#2C2F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2C2F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F80
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F80 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c2f80; /* rgb */ color: rgb(44, 47, 128); /* oklch */ color: oklch(35.6% 0.134 275.6);
Tailwind
colors: {
custom: {
50: '#7067a6',
500: '#2c2f80',
950: '#000000',
},
}SCSS
$custom: #2c2f80; $custom-light: #7067a6; $custom-dark: #000000;
JSON
{
"hex": "#2c2f80",
"rgb": {
"r": 44,
"g": 47,
"b": 128
},
"hsl": {
"h": 237.857,
"s": 48.837,
"l": 33.725
},
"oklch": {
"l": 0.35597,
"c": 0.13384,
"h": 275.6
},
"luminance": 0.04127
}Semantic roles & 50–950 ramp
primary
#2C2F80
secondary
#AEAB5A
accent
#D44FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F