#2F2FB1#2F2FB1
#2F2FB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.198 H 273.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FB1 |
|---|---|
| RGB | rgb(47, 47, 177) |
| HSL | hsl(240, 58%, 44%) |
| HSV | hsv(240, 73%, 69%) |
| CMYK | cmyk(73.4%, 73.4%, 0%, 30.6%) |
| CIE-LAB | lab(28.93, 43.34, -68.32) |
| CIE-LCH | lch(28.93, 80.91, 302.39°) |
| OKLab | oklab(40.57% 0.011 -0.1977) |
| OKLCH | oklch(40.57% 0.198 273.2) |
| XYZ | xyz(10.1220, 5.8107, 42.1746) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Indigo Blue
#3A18B1
ΔE00 4.71
True Blue
#010FCC
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.01
Blue With A Hint Of Purple
#533CC6
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FB1 #B1B12F
analogous
#2F70B1 #2F2FB1 #702FB1
triadic
#2F2FB1 #B12F2F #2FB12F
tetradic
#2F2FB1 #B12F70 #B1B12F #2FB170
square
#2F2FB1 #B12F70 #B1B12F #2FB170
split-complementary
#2F2FB1 #B1702F #70B12F
monochromatic
#151550 #222281 #2F2FB1 #4D4DD0 #7E7EDD
Accessibility & contrast
On white
9.71
#2F2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F2FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FB1
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FB1 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f2fb1; /* rgb */ color: rgb(47, 47, 177); /* oklch */ color: oklch(40.6% 0.198 273.2);
Tailwind
colors: {
custom: {
50: '#7c69ca',
500: '#2f2fb1',
950: '#000000',
},
}SCSS
$custom: #2f2fb1; $custom-light: #7c69ca; $custom-dark: #000000;
JSON
{
"hex": "#2f2fb1",
"rgb": {
"r": 47,
"g": 47,
"b": 177
},
"hsl": {
"h": 240,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.40569,
"c": 0.19797,
"h": 273.2
},
"luminance": 0.05812
}Semantic roles & 50–950 ramp
primary
#2F2FB1
secondary
#C5C576
accent
#E147E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82