#2F16B3#2F16B3
#2F16B3 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.9% C 0.220 H 275.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F16B3 |
|---|---|
| RGB | rgb(47, 22, 179) |
| HSL | hsl(250, 78%, 39%) |
| HSV | hsv(250, 88%, 70%) |
| CMYK | cmyk(73.7%, 87.7%, 0%, 29.8%) |
| CIE-LAB | lab(25.05, 55.85, -75.94) |
| CIE-LCH | lch(25.05, 94.27, 306.33°) |
| OKLab | oklab(37.93% 0.0196 -0.2194) |
| OKLCH | oklch(37.93% 0.22 275.1) |
| XYZ | xyz(9.5932, 4.4319, 42.9889) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.09
Ultramarine
#2000B1
ΔE00 2.58
True Blue
#010FCC
ΔE00 3.11
Mediumblue
#0000CD
ΔE00 3.40
Cobalt Blue
#030AA7
ΔE00 3.57
Royal Blue (survey)
#0504AA
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F16B3 #9AB316
analogous
#164CB3 #2F16B3 #7E16B3
triadic
#2F16B3 #B32F16 #16B32F
tetradic
#2F16B3 #B3164C #9AB316 #16B37E
square
#2F16B3 #B3164C #9AB316 #16B37E
split-complementary
#2F16B3 #B37E16 #4CB316
monochromatic
#120946 #210F7C #2F16B3 #4122E4 #7059EB
Accessibility & contrast
On white
11.13
#2F16B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F16B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F16B3
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F16B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F16B3 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0034B0
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f16b3; /* rgb */ color: rgb(47, 22, 179); /* oklch */ color: oklch(37.9% 0.220 275.1);
Tailwind
colors: {
custom: {
50: '#7e5ccb',
500: '#2f16b3',
950: '#000000',
},
}SCSS
$custom: #2f16b3; $custom-light: #7e5ccb; $custom-dark: #000000;
JSON
{
"hex": "#2f16b3",
"rgb": {
"r": 47,
"g": 22,
"b": 179
},
"hsl": {
"h": 249.554,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.37932,
"c": 0.2203,
"h": 275.1
},
"luminance": 0.04433
}Semantic roles & 50–950 ramp
primary
#2F16B3
secondary
#BBCE57
accent
#F533D6
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982