#2C2F91#2C2F91
#2C2F91 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.157 H 274.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F91 |
|---|---|
| RGB | rgb(44, 47, 145) |
| HSL | hsl(238, 53%, 37%) |
| HSV | hsv(238, 70%, 57%) |
| CMYK | cmyk(69.7%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(25.60, 31.90, -54.38) |
| CIE-LCH | lch(25.60, 63.05, 300.40°) |
| OKLab | oklab(37.17% 0.0119 -0.157) |
| OKLCH | oklch(37.17% 0.157 274.3) |
| XYZ | xyz(7.1644, 4.6122, 27.2953) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Darkslateblue
#483D8B
ΔE00 5.82
Blueberry
#464196
ΔE00 5.83
Royal
#0C1793
ΔE00 6.05
Midnight Blue
#191970
ΔE00 7.16
Indigo Blue
#3A18B1
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F91 #918E2C
analogous
#2C6291 #2C2F91 #5C2C91
triadic
#2C2F91 #912C2F #2F912C
tetradic
#2C2F91 #912C62 #918E2C #2C915C
square
#2C2F91 #912C62 #918E2C #2C915C
split-complementary
#2C2F91 #915C2C #62912C
monochromatic
#101133 #1E2062 #2C2F91 #3A3EC0 #676AD1
Accessibility & contrast
On white
10.92
#2C2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2C2F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F91
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F91 | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2f91; /* rgb */ color: rgb(44, 47, 145); /* oklch */ color: oklch(37.2% 0.157 274.3);
Tailwind
colors: {
custom: {
50: '#7368b2',
500: '#2c2f91',
950: '#000000',
},
}SCSS
$custom: #2c2f91; $custom-light: #7368b2; $custom-dark: #000000;
JSON
{
"hex": "#2c2f91",
"rgb": {
"r": 44,
"g": 47,
"b": 145
},
"hsl": {
"h": 238.218,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.37174,
"c": 0.15748,
"h": 274.3
},
"luminance": 0.04613
}Semantic roles & 50–950 ramp
primary
#2C2F91
secondary
#B7B562
accent
#D84BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80