#2F2CAD#2F2CAD
#2F2CAD is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.196 H 273.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CAD |
|---|---|
| RGB | rgb(47, 44, 173) |
| HSL | hsl(241, 59%, 43%) |
| HSV | hsv(241, 75%, 68%) |
| CMYK | cmyk(72.8%, 74.6%, 0%, 32.2%) |
| CIE-LAB | lab(27.90, 43.72, -67.62) |
| CIE-LCH | lch(27.90, 80.52, 302.88°) |
| OKLab | oklab(39.72% 0.0132 -0.1956) |
| OKLCH | oklch(39.72% 0.196 273.9) |
| XYZ | xyz(9.6133, 5.4219, 40.0670) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.07
True Blue
#010FCC
ΔE00 5.63
Royal
#0C1793
ΔE00 6.30
Cobalt Blue
#030AA7
ΔE00 6.45
Ultramarine
#2000B1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CAD #AAAD2C
analogous
#2C6AAD #2F2CAD #6F2CAD
triadic
#2F2CAD #AD2F2C #2CAD2F
tetradic
#2F2CAD #AD2C6A #AAAD2C #2CAD6F
square
#2F2CAD #AD2C6A #AAAD2C #2CAD6F
split-complementary
#2F2CAD #AD6F2C #6AAD2C
monochromatic
#14134B #22207C #2F2CAD #4946D0 #7977DC
Accessibility & contrast
On white
10.07
#2F2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F2CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CAD
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CAD | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f2cad; /* rgb */ color: rgb(47, 44, 173); /* oklch */ color: oklch(39.7% 0.196 273.9);
Tailwind
colors: {
custom: {
50: '#7b67c7',
500: '#2f2cad',
950: '#000000',
},
}SCSS
$custom: #2f2cad; $custom-light: #7b67c7; $custom-dark: #000000;
JSON
{
"hex": "#2f2cad",
"rgb": {
"r": 47,
"g": 44,
"b": 173
},
"hsl": {
"h": 241.395,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.39716,
"c": 0.19605,
"h": 273.9
},
"luminance": 0.05423
}Semantic roles & 50–950 ramp
primary
#2F2CAD
secondary
#C2C471
accent
#E345DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82