#2F2B99#2F2B99
#2F2B99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.172 H 275.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B99 |
|---|---|
| RGB | rgb(47, 43, 153) |
| HSL | hsl(242, 56%, 38%) |
| HSV | hsv(242, 72%, 60%) |
| CMYK | cmyk(69.3%, 71.9%, 0%, 40%) |
| CIE-LAB | lab(25.66, 37.57, -59.20) |
| CIE-LCH | lch(25.66, 70.12, 302.40°) |
| OKLab | oklab(37.5% 0.0173 -0.171) |
| OKLCH | oklch(37.5% 0.172 275.8) |
| XYZ | xyz(7.7840, 4.6313, 30.6145) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.64
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 6.49
Blueberry
#464196
ΔE00 6.67
Darkslateblue
#483D8B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B99 #95992B
analogous
#2B5E99 #2F2B99 #662B99
triadic
#2F2B99 #992F2B #2B992F
tetradic
#2F2B99 #992B5E #95992B #2B9966
square
#2F2B99 #992B5E #95992B #2B9966
split-complementary
#2F2B99 #99662B #5E992B
monochromatic
#121039 #201E69 #2F2B99 #3F3AC8 #6D69D5
Accessibility & contrast
On white
10.90
#2F2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F2B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B99
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B99 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2b99; /* rgb */ color: rgb(47, 43, 153); /* oklch */ color: oklch(37.5% 0.172 275.8);
Tailwind
colors: {
custom: {
50: '#7765b8',
500: '#2f2b99',
950: '#000000',
},
}SCSS
$custom: #2f2b99; $custom-light: #7765b8; $custom-dark: #000000;
JSON
{
"hex": "#2f2b99",
"rgb": {
"r": 47,
"g": 43,
"b": 153
},
"hsl": {
"h": 242.182,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.37503,
"c": 0.17193,
"h": 275.8
},
"luminance": 0.04632
}Semantic roles & 50–950 ramp
primary
#2F2B99
secondary
#B8BC64
accent
#DF48DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80