#2C2F92#2C2F92
#2C2F92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.159 H 274.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2F92 |
|---|---|
| RGB | rgb(44, 47, 146) |
| HSL | hsl(238, 54%, 37%) |
| HSV | hsv(238, 70%, 57%) |
| CMYK | cmyk(69.9%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(25.69, 32.26, -54.85) |
| CIE-LCH | lch(25.69, 63.63, 300.46°) |
| OKLab | oklab(37.27% 0.0118 -0.1584) |
| OKLCH | oklch(37.27% 0.159 274.2) |
| XYZ | xyz(7.2418, 4.6432, 27.7031) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Blueberry
#464196
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 5.86
Royal
#0C1793
ΔE00 6.01
Indigo Blue
#3A18B1
ΔE00 7.07
Midnight Blue
#191970
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2F92 #928F2C
analogous
#2C6292 #2C2F92 #5C2C92
triadic
#2C2F92 #922C2F #2F922C
tetradic
#2C2F92 #922C62 #928F2C #2C925C
square
#2C2F92 #922C62 #928F2C #2C925C
split-complementary
#2C2F92 #925C2C #62922C
monochromatic
#101134 #1E2063 #2C2F92 #3A3EC1 #676AD1
Accessibility & contrast
On white
10.89
#2C2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2C2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2F92
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2F92 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2f92; /* rgb */ color: rgb(44, 47, 146); /* oklch */ color: oklch(37.3% 0.159 274.2);
Tailwind
colors: {
custom: {
50: '#7468b3',
500: '#2c2f92',
950: '#000000',
},
}SCSS
$custom: #2c2f92; $custom-light: #7468b3; $custom-dark: #000000;
JSON
{
"hex": "#2c2f92",
"rgb": {
"r": 44,
"g": 47,
"b": 146
},
"hsl": {
"h": 238.235,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.3727,
"c": 0.15883,
"h": 274.2
},
"luminance": 0.04644
}Semantic roles & 50–950 ramp
primary
#2C2F92
secondary
#B8B562
accent
#D94BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80