#2C2F94#2C2F94
#2C2F94 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.162 H 274.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F94 |
|---|---|
| RGB | rgb(44, 47, 148) |
| HSL | hsl(238, 54%, 38%) |
| HSV | hsv(238, 70%, 58%) |
| CMYK | cmyk(70.3%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(25.88, 32.97, -55.77) |
| CIE-LCH | lch(25.88, 64.79, 300.59°) |
| OKLab | oklab(37.46% 0.0115 -0.1611) |
| OKLCH | oklch(37.46% 0.162 274.1) |
| XYZ | xyz(7.3987, 4.7059, 28.5297) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Blueberry
#464196
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 5.96
Royal
#0C1793
ΔE00 5.96
Indigo Blue
#3A18B1
ΔE00 6.84
Midnight Blue
#191970
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F94 #94912C
analogous
#2C6394 #2C2F94 #5D2C94
triadic
#2C2F94 #942C2F #2F942C
tetradic
#2C2F94 #942C63 #94912C #2C945D
square
#2C2F94 #942C63 #94912C #2C945D
split-complementary
#2C2F94 #945D2C #63942C
monochromatic
#101136 #1E2065 #2C2F94 #3A3EC3 #686BD2
Accessibility & contrast
On white
10.82
#2C2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F94
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F94 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2f94; /* rgb */ color: rgb(44, 47, 148); /* oklch */ color: oklch(37.5% 0.162 274.1);
Tailwind
colors: {
custom: {
50: '#7468b4',
500: '#2c2f94',
950: '#000000',
},
}SCSS
$custom: #2c2f94; $custom-light: #7468b4; $custom-dark: #000000;
JSON
{
"hex": "#2c2f94",
"rgb": {
"r": 44,
"g": 47,
"b": 148
},
"hsl": {
"h": 238.269,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.37463,
"c": 0.16151,
"h": 274.1
},
"luminance": 0.04707
}Semantic roles & 50–950 ramp
primary
#2C2F94
secondary
#B9B663
accent
#D94ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80