#2C2F95#2C2F95
#2C2F95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.163 H 274.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F95 |
|---|---|
| RGB | rgb(44, 47, 149) |
| HSL | hsl(238, 54%, 38%) |
| HSV | hsv(238, 70%, 58%) |
| CMYK | cmyk(70.5%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.97, 33.33, -56.23) |
| CIE-LCH | lch(25.97, 65.37, 300.65°) |
| OKLab | oklab(37.56% 0.0114 -0.1624) |
| OKLCH | oklch(37.56% 0.163 274) |
| XYZ | xyz(7.4782, 4.7377, 28.9483) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.04
Blueberry
#464196
ΔE00 5.86
Royal
#0C1793
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F95 #95922C
analogous
#2C6395 #2C2F95 #5E2C95
triadic
#2C2F95 #952C2F #2F952C
tetradic
#2C2F95 #952C63 #95922C #2C955E
square
#2C2F95 #952C63 #95922C #2C955E
split-complementary
#2C2F95 #955E2C #63952C
monochromatic
#101137 #1E2066 #2C2F95 #3A3EC4 #696CD3
Accessibility & contrast
On white
10.78
#2C2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C2F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F95
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F95 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2f95; /* rgb */ color: rgb(44, 47, 149); /* oklch */ color: oklch(37.6% 0.163 274.0);
Tailwind
colors: {
custom: {
50: '#7468b5',
500: '#2c2f95',
950: '#000000',
},
}SCSS
$custom: #2c2f95; $custom-light: #7468b5; $custom-dark: #000000;
JSON
{
"hex": "#2c2f95",
"rgb": {
"r": 44,
"g": 47,
"b": 149
},
"hsl": {
"h": 238.286,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.3756,
"c": 0.16285,
"h": 274
},
"luminance": 0.04738
}Semantic roles & 50–950 ramp
primary
#2C2F95
secondary
#B9B764
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80