#2F2FA6#2F2FA6
#2F2FA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.184 H 274.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FA6 |
|---|---|
| RGB | rgb(47, 47, 166) |
| HSL | hsl(240, 56%, 42%) |
| HSV | hsv(240, 72%, 65%) |
| CMYK | cmyk(71.7%, 71.7%, 0%, 34.9%) |
| CIE-LAB | lab(27.82, 39.61, -63.55) |
| CIE-LCH | lch(27.82, 74.89, 301.94°) |
| OKLab | oklab(39.44% 0.0128 -0.1838) |
| OKLCH | oklch(39.44% 0.184 274) |
| XYZ | xyz(9.0694, 5.3897, 36.6313) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Indigo Blue
#3A18B1
ΔE00 5.09
Blueberry
#464196
ΔE00 6.33
Royal
#0C1793
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 6.42
True Blue
#010FCC
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FA6 #A6A62F
analogous
#2F6BA6 #2F2FA6 #6B2FA6
triadic
#2F2FA6 #A62F2F #2FA62F
tetradic
#2F2FA6 #A62F6B #A6A62F #2FA66B
square
#2F2FA6 #A62F6B #A6A62F #2FA66B
split-complementary
#2F2FA6 #A66B2F #6BA62F
monochromatic
#141447 #212176 #2F2FA6 #4747CB #7777D8
Accessibility & contrast
On white
10.10
#2F2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F2FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FA6
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FA6 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f2fa6; /* rgb */ color: rgb(47, 47, 166); /* oklch */ color: oklch(39.4% 0.184 274.0);
Tailwind
colors: {
custom: {
50: '#7969c2',
500: '#2f2fa6',
950: '#000000',
},
}SCSS
$custom: #2f2fa6; $custom-light: #7969c2; $custom-dark: #000000;
JSON
{
"hex": "#2f2fa6",
"rgb": {
"r": 47,
"g": 47,
"b": 166
},
"hsl": {
"h": 240,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.3944,
"c": 0.1842,
"h": 274
},
"luminance": 0.05391
}Semantic roles & 50–950 ramp
primary
#2F2FA6
secondary
#C1C170
accent
#DF49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81