#2F2C71#2F2C71
#2F2C71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.115 H 280.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C71 |
|---|---|
| RGB | rgb(47, 44, 113) |
| HSL | hsl(243, 44%, 31%) |
| HSV | hsv(243, 61%, 44%) |
| CMYK | cmyk(58.4%, 61.1%, 0%, 55.7%) |
| CIE-LAB | lab(22.29, 22.94, -39.62) |
| CIE-LCH | lch(22.29, 45.78, 300.07°) |
| OKLab | oklab(33.95% 0.0205 -0.1136) |
| OKLCH | oklch(33.95% 0.115 280.2) |
| XYZ | xyz(5.0527, 3.5976, 16.0477) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.47
Marine
#042E60
ΔE00 7.92
Blueberry
#464196
ΔE00 7.98
Royal
#0C1793
ΔE00 8.66
Navy Blue
#1B2A4A
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C71 #6E712C
analogous
#2C4B71 #2F2C71 #512C71
triadic
#2F2C71 #712F2C #2C712F
tetradic
#2F2C71 #712C4B #6E712C #2C7151
square
#2F2C71 #712C4B #6E712C #2C7151
split-complementary
#2F2C71 #71512C #4B712C
monochromatic
#0A0A19 #1D1B45 #2F2C71 #413D9D #5D59BE
Accessibility & contrast
On white
12.21
#2F2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2F2C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C71
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C71 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#0E3C4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2c71; /* rgb */ color: rgb(47, 44, 113); /* oklch */ color: oklch(33.9% 0.115 280.2);
Tailwind
colors: {
custom: {
50: '#6e659a',
500: '#2f2c71',
950: '#000000',
},
}SCSS
$custom: #2f2c71; $custom-light: #6e659a; $custom-dark: #000000;
JSON
{
"hex": "#2f2c71",
"rgb": {
"r": 47,
"g": 44,
"b": 113
},
"hsl": {
"h": 242.609,
"s": 43.949,
"l": 30.784
},
"oklch": {
"l": 0.33946,
"c": 0.11546,
"h": 280.2
},
"luminance": 0.03598
}Semantic roles & 50–950 ramp
primary
#2F2C71
secondary
#9FA356
accent
#D454CE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E