#2F2C82#2F2C82
#2F2C82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.140 H 278.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C82 |
|---|---|
| RGB | rgb(47, 44, 130) |
| HSL | hsl(242, 49%, 34%) |
| HSV | hsv(242, 66%, 51%) |
| CMYK | cmyk(63.8%, 66.2%, 0%, 49%) |
| CIE-LAB | lab(23.73, 28.96, -48.09) |
| CIE-LCH | lch(23.73, 56.14, 301.05°) |
| OKLab | oklab(35.45% 0.0196 -0.1385) |
| OKLCH | oklch(35.45% 0.14 278.1) |
| XYZ | xyz(6.1009, 4.0169, 21.5686) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.75
Royal
#0C1793
ΔE00 6.36
Blueberry
#464196
ΔE00 6.66
Sapphire (survey)
#2138AB
ΔE00 6.88
Indigo Blue
#3A18B1
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C82 #7F822C
analogous
#2C5482 #2F2C82 #5A2C82
triadic
#2F2C82 #822F2C #2C822F
tetradic
#2F2C82 #822C54 #7F822C #2C825A
square
#2F2C82 #822C54 #7F822C #2C825A
split-complementary
#2F2C82 #825A2C #54822C
monochromatic
#0E0D27 #1E1D54 #2F2C82 #403BB0 #635FC9
Accessibility & contrast
On white
11.64
#2F2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2F2C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C82
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C82 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f2c82; /* rgb */ color: rgb(47, 44, 130); /* oklch */ color: oklch(35.4% 0.140 278.1);
Tailwind
colors: {
custom: {
50: '#7265a7',
500: '#2f2c82',
950: '#000000',
},
}SCSS
$custom: #2f2c82; $custom-light: #7265a7; $custom-dark: #000000;
JSON
{
"hex": "#2f2c82",
"rgb": {
"r": 47,
"g": 44,
"b": 130
},
"hsl": {
"h": 242.093,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.35447,
"c": 0.13989,
"h": 278.1
},
"luminance": 0.04017
}Semantic roles & 50–950 ramp
primary
#2F2C82
secondary
#ACAF5B
accent
#D94FD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F