#2F2BAC#2F2BAC
#2F2BAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.196 H 274.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BAC |
|---|---|
| RGB | rgb(47, 43, 172) |
| HSL | hsl(242, 60%, 42%) |
| HSV | hsv(242, 75%, 67%) |
| CMYK | cmyk(72.7%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(27.60, 43.95, -67.53) |
| CIE-LCH | lch(27.60, 80.57, 303.06°) |
| OKLab | oklab(39.47% 0.0139 -0.1953) |
| OKLCH | oklch(39.47% 0.196 274.1) |
| XYZ | xyz(9.4801, 5.3097, 39.5470) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 4.09
True Blue
#010FCC
ΔE00 5.54
Royal
#0C1793
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BAC #A8AC2B
analogous
#2B68AC #2F2BAC #6F2BAC
triadic
#2F2BAC #AC2F2B #2BAC2F
tetradic
#2F2BAC #AC2B68 #A8AC2B #2BAC6F
square
#2F2BAC #AC2B68 #A8AC2B #2BAC6F
split-complementary
#2F2BAC #AC6F2B #68AC2B
monochromatic
#14134A #221F7B #2F2BAC #4844D0 #7875DC
Accessibility & contrast
On white
10.18
#2F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F2BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BAC
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BAC | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2bac; /* rgb */ color: rgb(47, 43, 172); /* oklch */ color: oklch(39.5% 0.196 274.1);
Tailwind
colors: {
custom: {
50: '#7b66c6',
500: '#2f2bac',
950: '#000000',
},
}SCSS
$custom: #2f2bac; $custom-light: #7b66c6; $custom-dark: #000000;
JSON
{
"hex": "#2f2bac",
"rgb": {
"r": 47,
"g": 43,
"b": 172
},
"hsl": {
"h": 241.86,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.39469,
"c": 0.19581,
"h": 274.1
},
"luminance": 0.05311
}Semantic roles & 50–950 ramp
primary
#2F2BAC
secondary
#C1C46F
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82