#2F2FB2#2F2FB2
#2F2FB2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.199 H 273.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FB2 |
|---|---|
| RGB | rgb(47, 47, 178) |
| HSL | hsl(240, 58%, 44%) |
| HSV | hsv(240, 74%, 70%) |
| CMYK | cmyk(73.6%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(29.03, 43.67, -68.75) |
| CIE-LCH | lch(29.03, 81.45, 302.42°) |
| OKLab | oklab(40.67% 0.0108 -0.1989) |
| OKLCH | oklch(40.67% 0.199 273.1) |
| XYZ | xyz(10.2220, 5.8507, 42.7014) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.39
Indigo Blue
#3A18B1
ΔE00 4.70
True Blue
#010FCC
ΔE00 5.84
Ocean Blue
#4F42B5
ΔE00 5.93
Blue Blue
#2242C7
ΔE00 5.94
Blue With A Hint Of Purple
#533CC6
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FB2 #B2B22F
analogous
#2F71B2 #2F2FB2 #712FB2
triadic
#2F2FB2 #B22F2F #2FB22F
tetradic
#2F2FB2 #B22F71 #B2B22F #2FB271
square
#2F2FB2 #B22F71 #B2B22F #2FB271
split-complementary
#2F2FB2 #B2712F #71B22F
monochromatic
#151551 #222282 #2F2FB2 #4E4ED0 #7E7EDD
Accessibility & contrast
On white
9.68
#2F2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F2FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FB2
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FB2 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f2fb2; /* rgb */ color: rgb(47, 47, 178); /* oklch */ color: oklch(40.7% 0.199 273.1);
Tailwind
colors: {
custom: {
50: '#7c69ca',
500: '#2f2fb2',
950: '#000000',
},
}SCSS
$custom: #2f2fb2; $custom-light: #7c69ca; $custom-dark: #000000;
JSON
{
"hex": "#2f2fb2",
"rgb": {
"r": 47,
"g": 47,
"b": 178
},
"hsl": {
"h": 240,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.40673,
"c": 0.19921,
"h": 273.1
},
"luminance": 0.05852
}Semantic roles & 50–950 ramp
primary
#2F2FB2
secondary
#C6C677
accent
#E146E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82