#2F2B92#2F2B92
#2F2B92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.163 H 276.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B92 |
|---|---|
| RGB | rgb(47, 43, 146) |
| HSL | hsl(242, 54%, 37%) |
| HSV | hsv(242, 71%, 57%) |
| CMYK | cmyk(67.8%, 70.5%, 0%, 42.7%) |
| CIE-LAB | lab(24.97, 35.18, -56.02) |
| CIE-LCH | lch(24.97, 66.15, 302.12°) |
| OKLab | oklab(36.81% 0.0185 -0.1617) |
| OKLCH | oklch(36.81% 0.163 276.5) |
| XYZ | xyz(7.2228, 4.4068, 27.6585) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.08
Sapphire (survey)
#2138AB
ΔE00 5.20
Indigo Blue
#3A18B1
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.34
Blueberry
#464196
ΔE00 6.57
Midnight Blue
#191970
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B92 #8E922B
analogous
#2B5B92 #2F2B92 #632B92
triadic
#2F2B92 #922F2B #2B922F
tetradic
#2F2B92 #922B5B #8E922B #2B9263
square
#2F2B92 #922B5B #8E922B #2B9263
split-complementary
#2F2B92 #92632B #5B922B
monochromatic
#110F33 #201D63 #2F2B92 #3E39C1 #6A66D2
Accessibility & contrast
On white
11.16
#2F2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2F2B92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B92
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B92 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2b92; /* rgb */ color: rgb(47, 43, 146); /* oklch */ color: oklch(36.8% 0.163 276.5);
Tailwind
colors: {
custom: {
50: '#7565b3',
500: '#2f2b92',
950: '#000000',
},
}SCSS
$custom: #2f2b92; $custom-light: #7565b3; $custom-dark: #000000;
JSON
{
"hex": "#2f2b92",
"rgb": {
"r": 47,
"g": 43,
"b": 146
},
"hsl": {
"h": 242.33,
"s": 54.497,
"l": 37.059
},
"oklch": {
"l": 0.36805,
"c": 0.1628,
"h": 276.5
},
"luminance": 0.04407
}Semantic roles & 50–950 ramp
primary
#2F2B92
secondary
#B5B861
accent
#DE4AD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80