#2C2F83#2C2F83
#2C2F83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.138 H 275.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F83 |
|---|---|
| RGB | rgb(44, 47, 131) |
| HSL | hsl(238, 50%, 34%) |
| HSV | hsv(238, 66%, 51%) |
| CMYK | cmyk(66.4%, 64.1%, 0%, 48.6%) |
| CIE-LAB | lab(24.34, 26.84, -47.72) |
| CIE-LCH | lch(24.34, 54.76, 299.36°) |
| OKLab | oklab(35.87% 0.013 -0.1375) |
| OKLCH | oklch(35.87% 0.138 275.4) |
| XYZ | xyz(6.1506, 4.2067, 21.9562) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.53
Blueberry
#464196
ΔE00 6.19
Midnight Blue
#191970
ΔE00 6.27
Sapphire (survey)
#2138AB
ΔE00 6.29
Royal
#0C1793
ΔE00 6.99
Marine
#042E60
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F83 #83802C
analogous
#2C5B83 #2C2F83 #552C83
triadic
#2C2F83 #832C2F #2F832C
tetradic
#2C2F83 #832C5B #83802C #2C8355
square
#2C2F83 #832C5B #83802C #2C8355
split-complementary
#2C2F83 #83552C #5B832C
monochromatic
#0D0E27 #1D1F55 #2C2F83 #3B3FB1 #6063CA
Accessibility & contrast
On white
11.40
#2C2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C2F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F83
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F83 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2f83; /* rgb */ color: rgb(44, 47, 131); /* oklch */ color: oklch(35.9% 0.138 275.4);
Tailwind
colors: {
custom: {
50: '#7067a8',
500: '#2c2f83',
950: '#000000',
},
}SCSS
$custom: #2c2f83; $custom-light: #7067a8; $custom-dark: #000000;
JSON
{
"hex": "#2c2f83",
"rgb": {
"r": 44,
"g": 47,
"b": 131
},
"hsl": {
"h": 237.931,
"s": 49.714,
"l": 34.314
},
"oklch": {
"l": 0.35867,
"c": 0.13812,
"h": 275.4
},
"luminance": 0.04207
}Semantic roles & 50–950 ramp
primary
#2C2F83
secondary
#B0AD5B
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F