#2F2B9B#2F2B9B
#2F2B9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.174 H 275.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B9B |
|---|---|
| RGB | rgb(47, 43, 155) |
| HSL | hsl(242, 57%, 39%) |
| HSV | hsv(242, 72%, 61%) |
| CMYK | cmyk(69.7%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(25.86, 38.26, -60.10) |
| CIE-LCH | lch(25.86, 71.24, 302.48°) |
| OKLab | oklab(37.71% 0.017 -0.1737) |
| OKLCH | oklch(37.71% 0.175 275.6) |
| XYZ | xyz(7.9506, 4.6979, 31.4918) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Indigo Blue
#3A18B1
ΔE00 5.07
Royal
#0C1793
ΔE00 5.09
Cobalt Blue
#030AA7
ΔE00 6.39
Blueberry
#464196
ΔE00 6.72
Darkslateblue
#483D8B
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B9B #979B2B
analogous
#2B5F9B #2F2B9B #672B9B
triadic
#2F2B9B #9B2F2B #2B9B2F
tetradic
#2F2B9B #9B2B5F #979B2B #2B9B67
square
#2F2B9B #9B2B5F #979B2B #2B9B67
split-complementary
#2F2B9B #9B672B #5F9B2B
monochromatic
#12103B #201E6B #2F2B9B #403BC9 #6E6BD6
Accessibility & contrast
On white
10.83
#2F2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F2B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B9B
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B9B | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2b9b; /* rgb */ color: rgb(47, 43, 155); /* oklch */ color: oklch(37.7% 0.174 275.6);
Tailwind
colors: {
custom: {
50: '#7765ba',
500: '#2f2b9b',
950: '#000000',
},
}SCSS
$custom: #2f2b9b; $custom-light: #7765ba; $custom-dark: #000000;
JSON
{
"hex": "#2f2b9b",
"rgb": {
"r": 47,
"g": 43,
"b": 155
},
"hsl": {
"h": 242.143,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.37706,
"c": 0.1745,
"h": 275.6
},
"luminance": 0.04699
}Semantic roles & 50–950 ramp
primary
#2F2B9B
secondary
#B9BC65
accent
#E048DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81