#2F2C9B#2F2C9B
#2F2C9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.173 H 275.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C9B |
|---|---|
| RGB | rgb(47, 44, 155) |
| HSL | hsl(242, 56%, 39%) |
| HSV | hsv(242, 72%, 61%) |
| CMYK | cmyk(69.7%, 71.6%, 0%, 39.2%) |
| CIE-LAB | lab(26.07, 37.66, -59.74) |
| CIE-LCH | lch(26.07, 70.62, 302.22°) |
| OKLab | oklab(37.86% 0.0164 -0.1726) |
| OKLCH | oklch(37.86% 0.173 275.4) |
| XYZ | xyz(7.9874, 4.7715, 31.5041) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Indigo Blue
#3A18B1
ΔE00 5.27
Royal
#0C1793
ΔE00 5.30
Blueberry
#464196
ΔE00 6.50
Cobalt Blue
#030AA7
ΔE00 6.63
Darkslateblue
#483D8B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C9B #989B2C
analogous
#2C619B #2F2C9B #672C9B
triadic
#2F2C9B #9B2F2C #2C9B2F
tetradic
#2F2C9B #9B2C61 #989B2C #2C9B67
square
#2F2C9B #9B2C61 #989B2C #2C9B67
split-complementary
#2F2C9B #9B672C #619B2C
monochromatic
#12113C #211E6B #2F2C9B #403CC8 #6F6CD5
Accessibility & contrast
On white
10.74
#2F2C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F2C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C9B
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C9B | 1.00 | 10.74 | 1.95 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f2c9b; /* rgb */ color: rgb(47, 44, 155); /* oklch */ color: oklch(37.9% 0.173 275.4);
Tailwind
colors: {
custom: {
50: '#7766ba',
500: '#2f2c9b',
950: '#000000',
},
}SCSS
$custom: #2f2c9b; $custom-light: #7766ba; $custom-dark: #000000;
JSON
{
"hex": "#2f2c9b",
"rgb": {
"r": 47,
"g": 44,
"b": 155
},
"hsl": {
"h": 241.622,
"s": 55.779,
"l": 39.02
},
"oklch": {
"l": 0.37862,
"c": 0.17339,
"h": 275.4
},
"luminance": 0.04772
}Semantic roles & 50–950 ramp
primary
#2F2C9B
secondary
#BABC67
accent
#DF49DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81