#2F2C7B#2F2C7B
#2F2C7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.130 H 278.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C7B |
|---|---|
| RGB | rgb(47, 44, 123) |
| HSL | hsl(242, 47%, 33%) |
| HSV | hsv(242, 64%, 48%) |
| CMYK | cmyk(61.8%, 64.2%, 0%, 51.8%) |
| CIE-LAB | lab(23.12, 26.48, -44.66) |
| CIE-LCH | lch(23.12, 51.92, 300.67°) |
| OKLab | oklab(34.81% 0.0201 -0.1284) |
| OKLCH | oklch(34.81% 0.13 278.9) |
| XYZ | xyz(5.6470, 3.8354, 19.1778) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.88
Blueberry
#464196
ΔE00 7.07
Royal
#0C1793
ΔE00 7.18
Sapphire (survey)
#2138AB
ΔE00 7.89
Marine
#042E60
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C7B #787B2C
analogous
#2C517B #2F2C7B #562C7B
triadic
#2F2C7B #7B2F2C #2C7B2F
tetradic
#2F2C7B #7B2C51 #787B2C #2C7B56
square
#2F2C7B #7B2C51 #787B2C #2C7B56
split-complementary
#2F2C7B #7B562C #517B2C
monochromatic
#0D0C21 #1E1C4E #2F2C7B #403CA8 #605DC5
Accessibility & contrast
On white
11.88
#2F2C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F2C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C7B
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C7B | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2c7b; /* rgb */ color: rgb(47, 44, 123); /* oklch */ color: oklch(34.8% 0.130 278.9);
Tailwind
colors: {
custom: {
50: '#7065a2',
500: '#2f2c7b',
950: '#000000',
},
}SCSS
$custom: #2f2c7b; $custom-light: #7065a2; $custom-dark: #000000;
JSON
{
"hex": "#2f2c7b",
"rgb": {
"r": 47,
"g": 44,
"b": 123
},
"hsl": {
"h": 242.278,
"s": 47.305,
"l": 32.745
},
"oklch": {
"l": 0.34813,
"c": 0.13001,
"h": 278.9
},
"luminance": 0.03836
}Semantic roles & 50–950 ramp
primary
#2F2C7B
secondary
#A8AB58
accent
#D751D2
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F