#2F2C7A#2F2C7A
#2F2C7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.129 H 279.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C7A |
|---|---|
| RGB | rgb(47, 44, 122) |
| HSL | hsl(242, 47%, 33%) |
| HSV | hsv(242, 64%, 48%) |
| CMYK | cmyk(61.5%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(23.03, 26.13, -44.17) |
| CIE-LCH | lch(23.03, 51.32, 300.61°) |
| OKLab | oklab(34.73% 0.0202 -0.127) |
| OKLCH | oklch(34.73% 0.129 279) |
| XYZ | xyz(5.5847, 3.8104, 18.8498) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.92
Blueberry
#464196
ΔE00 7.15
Royal
#0C1793
ΔE00 7.31
Sapphire (survey)
#2138AB
ΔE00 8.04
Marine
#042E60
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C7A #777A2C
analogous
#2C507A #2F2C7A #562C7A
triadic
#2F2C7A #7A2F2C #2C7A2F
tetradic
#2F2C7A #7A2C50 #777A2C #2C7A56
square
#2F2C7A #7A2C50 #777A2C #2C7A56
split-complementary
#2F2C7A #7A562C #507A2C
monochromatic
#0C0C20 #1E1C4D #2F2C7A #403CA7 #605CC4
Accessibility & contrast
On white
11.92
#2F2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2F2C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C7A
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C7A | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2c7a; /* rgb */ color: rgb(47, 44, 122); /* oklch */ color: oklch(34.7% 0.129 279.0);
Tailwind
colors: {
custom: {
50: '#7065a1',
500: '#2f2c7a',
950: '#000000',
},
}SCSS
$custom: #2f2c7a; $custom-light: #7065a1; $custom-dark: #000000;
JSON
{
"hex": "#2f2c7a",
"rgb": {
"r": 47,
"g": 44,
"b": 122
},
"hsl": {
"h": 242.308,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.34725,
"c": 0.12858,
"h": 279
},
"luminance": 0.03811
}Semantic roles & 50–950 ramp
primary
#2F2C7A
secondary
#A7AA57
accent
#D751D1
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F