#2F2C9F#2F2C9F
#2F2C9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.179 H 275.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C9F |
|---|---|
| RGB | rgb(47, 44, 159) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 72%, 62%) |
| CMYK | cmyk(70.4%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(26.47, 39.02, -61.53) |
| CIE-LCH | lch(26.47, 72.86, 302.38°) |
| OKLab | oklab(38.27% 0.0157 -0.1778) |
| OKLCH | oklch(38.27% 0.179 275) |
| XYZ | xyz(8.3289, 4.9081, 33.3026) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 4.90
Royal
#0C1793
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 6.48
Blueberry
#464196
ΔE00 6.63
Ultramarine
#2000B1
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C9F #9C9F2C
analogous
#2C639F #2F2C9F #682C9F
triadic
#2F2C9F #9F2F2C #2C9F2F
tetradic
#2F2C9F #9F2C63 #9C9F2C #2C9F68
square
#2F2C9F #9F2C63 #9C9F2C #2C9F68
split-complementary
#2F2C9F #9F682C #639F2C
monochromatic
#13113F #211F6F #2F2C9F #423ECA #716ED7
Accessibility & contrast
On white
10.60
#2F2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2F2C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C9F
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C9F | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2c9f; /* rgb */ color: rgb(47, 44, 159); /* oklch */ color: oklch(38.3% 0.179 275.0);
Tailwind
colors: {
custom: {
50: '#7866bc',
500: '#2f2c9f',
950: '#000000',
},
}SCSS
$custom: #2f2c9f; $custom-light: #7866bc; $custom-dark: #000000;
JSON
{
"hex": "#2f2c9f",
"rgb": {
"r": 47,
"g": 44,
"b": 159
},
"hsl": {
"h": 241.565,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.38266,
"c": 0.17853,
"h": 275
},
"luminance": 0.04909
}Semantic roles & 50–950 ramp
primary
#2F2C9F
secondary
#BCBE69
accent
#E048DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81