#2F2FAB#2F2FAB
#2F2FAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.191 H 273.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2FAB |
|---|---|
| RGB | rgb(47, 47, 171) |
| HSL | hsl(240, 57%, 43%) |
| HSV | hsv(240, 73%, 67%) |
| CMYK | cmyk(72.5%, 72.5%, 0%, 32.9%) |
| CIE-LAB | lab(28.32, 41.31, -65.74) |
| CIE-LCH | lch(28.32, 77.64, 302.15°) |
| OKLab | oklab(39.95% 0.012 -0.1901) |
| OKLCH | oklch(39.95% 0.191 273.6) |
| XYZ | xyz(9.5370, 5.5767, 39.0940) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Indigo Blue
#3A18B1
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 6.18
True Blue
#010FCC
ΔE00 6.35
Blue Blue
#2242C7
ΔE00 6.42
Blueberry
#464196
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2FAB #ABAB2F
analogous
#2F6DAB #2F2FAB #6D2FAB
triadic
#2F2FAB #AB2F2F #2FAB2F
tetradic
#2F2FAB #AB2F6D #ABAB2F #2FAB6D
square
#2F2FAB #AB2F6D #ABAB2F #2FAB6D
split-complementary
#2F2FAB #AB6D2F #6DAB2F
monochromatic
#15154B #22227B #2F2FAB #4A4ACD #7A7ADA
Accessibility & contrast
On white
9.93
#2F2FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2F2FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2FAB
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2FAB | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f2fab; /* rgb */ color: rgb(47, 47, 171); /* oklch */ color: oklch(40.0% 0.191 273.6);
Tailwind
colors: {
custom: {
50: '#7b69c5',
500: '#2f2fab',
950: '#000000',
},
}SCSS
$custom: #2f2fab; $custom-light: #7b69c5; $custom-dark: #000000;
JSON
{
"hex": "#2f2fab",
"rgb": {
"r": 47,
"g": 47,
"b": 171
},
"hsl": {
"h": 240,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.3995,
"c": 0.19052,
"h": 273.6
},
"luminance": 0.05578
}Semantic roles & 50–950 ramp
primary
#2F2FAB
secondary
#C3C373
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82