#2C2F93#2C2F93
#2C2F93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.160 H 274.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F93 |
|---|---|
| RGB | rgb(44, 47, 147) |
| HSL | hsl(238, 54%, 37%) |
| HSV | hsv(238, 70%, 58%) |
| CMYK | cmyk(70.1%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(25.79, 32.62, -55.31) |
| CIE-LCH | lch(25.79, 64.21, 300.53°) |
| OKLab | oklab(37.37% 0.0117 -0.1597) |
| OKLCH | oklch(37.37% 0.16 274.2) |
| XYZ | xyz(7.3199, 4.6744, 28.1146) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.24
Blueberry
#464196
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 5.91
Royal
#0C1793
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.96
Midnight Blue
#191970
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F93 #93902C
analogous
#2C6393 #2C2F93 #5C2C93
triadic
#2C2F93 #932C2F #2F932C
tetradic
#2C2F93 #932C63 #93902C #2C935C
square
#2C2F93 #932C63 #93902C #2C935C
split-complementary
#2C2F93 #935C2C #63932C
monochromatic
#101135 #1E2064 #2C2F93 #3A3EC2 #686BD2
Accessibility & contrast
On white
10.85
#2C2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F93
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F93 | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2f93; /* rgb */ color: rgb(44, 47, 147); /* oklch */ color: oklch(37.4% 0.160 274.2);
Tailwind
colors: {
custom: {
50: '#7468b4',
500: '#2c2f93',
950: '#000000',
},
}SCSS
$custom: #2c2f93; $custom-light: #7468b4; $custom-dark: #000000;
JSON
{
"hex": "#2c2f93",
"rgb": {
"r": 44,
"g": 47,
"b": 147
},
"hsl": {
"h": 238.252,
"s": 53.927,
"l": 37.451
},
"oklch": {
"l": 0.37367,
"c": 0.16017,
"h": 274.2
},
"luminance": 0.04675
}Semantic roles & 50–950 ramp
primary
#2C2F93
secondary
#B8B663
accent
#D94ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80