#2F2FAA#2F2FAA
#2F2FAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.189 H 273.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FAA |
|---|---|
| RGB | rgb(47, 47, 170) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 72%, 67%) |
| CMYK | cmyk(72.4%, 72.4%, 0%, 33.3%) |
| CIE-LAB | lab(28.22, 40.98, -65.30) |
| CIE-LCH | lch(28.22, 77.10, 302.11°) |
| OKLab | oklab(39.85% 0.0121 -0.1889) |
| OKLCH | oklch(39.85% 0.189 273.7) |
| XYZ | xyz(9.4421, 5.5387, 38.5939) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Indigo Blue
#3A18B1
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 6.22
True Blue
#010FCC
ΔE00 6.44
Blue Blue
#2242C7
ΔE00 6.49
Blueberry
#464196
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FAA #AAAA2F
analogous
#2F6CAA #2F2FAA #6C2FAA
triadic
#2F2FAA #AA2F2F #2FAA2F
tetradic
#2F2FAA #AA2F6C #AAAA2F #2FAA6C
square
#2F2FAA #AA2F6C #AAAA2F #2FAA6C
split-complementary
#2F2FAA #AA6C2F #6CAA2F
monochromatic
#14144A #22227A #2F2FAA #4949CD #7979DA
Accessibility & contrast
On white
9.96
#2F2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2F2FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FAA
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FAA | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f2faa; /* rgb */ color: rgb(47, 47, 170); /* oklch */ color: oklch(39.8% 0.189 273.7);
Tailwind
colors: {
custom: {
50: '#7a69c4',
500: '#2f2faa',
950: '#000000',
},
}SCSS
$custom: #2f2faa; $custom-light: #7a69c4; $custom-dark: #000000;
JSON
{
"hex": "#2f2faa",
"rgb": {
"r": 47,
"g": 47,
"b": 170
},
"hsl": {
"h": 240,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.39847,
"c": 0.18926,
"h": 273.7
},
"luminance": 0.0554
}Semantic roles & 50–950 ramp
primary
#2F2FAA
secondary
#C2C272
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82