#2F2FBB#2F2FBB
#2F2FBB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.210 H 272.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FBB |
|---|---|
| RGB | rgb(47, 47, 187) |
| HSL | hsl(240, 60%, 46%) |
| HSV | hsv(240, 75%, 73%) |
| CMYK | cmyk(74.9%, 74.9%, 0%, 26.7%) |
| CIE-LAB | lab(29.97, 46.65, -72.55) |
| CIE-LCH | lch(29.97, 86.26, 302.74°) |
| OKLab | oklab(41.62% 0.0092 -0.21) |
| OKLCH | oklch(41.62% 0.21 272.5) |
| XYZ | xyz(11.1554, 6.2241, 47.6175) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Indigo Blue
#3A18B1
ΔE00 4.81
Blue With A Hint Of Purple
#533CC6
ΔE00 5.38
True Blue
#010FCC
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.50
Blurple
#5539CC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FBB #BBBB2F
analogous
#2F75BB #2F2FBB #752FBB
triadic
#2F2FBB #BB2F2F #2FBB2F
tetradic
#2F2FBB #BB2F75 #BBBB2F #2FBB75
square
#2F2FBB #BB2F75 #BBBB2F #2FBB75
split-complementary
#2F2FBB #BB752F #75BB2F
monochromatic
#161659 #23238A #2F2FBB #5353D4 #8484E0
Accessibility & contrast
On white
9.35
#2F2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F2FBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FBB
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FBB | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBF
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f2fbb; /* rgb */ color: rgb(47, 47, 187); /* oklch */ color: oklch(41.6% 0.210 272.5);
Tailwind
colors: {
custom: {
50: '#7e69d1',
500: '#2f2fbb',
950: '#000000',
},
}SCSS
$custom: #2f2fbb; $custom-light: #7e69d1; $custom-dark: #000000;
JSON
{
"hex": "#2f2fbb",
"rgb": {
"r": 47,
"g": 47,
"b": 187
},
"hsl": {
"h": 240,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.41618,
"c": 0.21017,
"h": 272.5
},
"luminance": 0.06225
}Semantic roles & 50–950 ramp
primary
#2F2FBB
secondary
#C9C97C
accent
#E345E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83