#2F2CAC#2F2CAC
#2F2CAC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.195 H 273.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CAC |
|---|---|
| RGB | rgb(47, 44, 172) |
| HSL | hsl(241, 59%, 42%) |
| HSV | hsv(241, 74%, 67%) |
| CMYK | cmyk(72.7%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(27.80, 43.39, -67.19) |
| CIE-LCH | lch(27.80, 79.98, 302.85°) |
| OKLab | oklab(39.61% 0.0134 -0.1944) |
| OKLCH | oklch(39.61% 0.195 273.9) |
| XYZ | xyz(9.5169, 5.3833, 39.5593) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 4.10
True Blue
#010FCC
ΔE00 5.71
Royal
#0C1793
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CAC #A9AC2C
analogous
#2C69AC #2F2CAC #6F2CAC
triadic
#2F2CAC #AC2F2C #2CAC2F
tetradic
#2F2CAC #AC2C69 #A9AC2C #2CAC6F
square
#2F2CAC #AC2C69 #A9AC2C #2CAC6F
split-complementary
#2F2CAC #AC6F2C #69AC2C
monochromatic
#14134B #22207B #2F2CAC #4946D0 #7976DC
Accessibility & contrast
On white
10.11
#2F2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F2CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CAC
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CAC | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f2cac; /* rgb */ color: rgb(47, 44, 172); /* oklch */ color: oklch(39.6% 0.195 273.9);
Tailwind
colors: {
custom: {
50: '#7b67c6',
500: '#2f2cac',
950: '#000000',
},
}SCSS
$custom: #2f2cac; $custom-light: #7b67c6; $custom-dark: #000000;
JSON
{
"hex": "#2f2cac",
"rgb": {
"r": 47,
"g": 44,
"b": 172
},
"hsl": {
"h": 241.406,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.39611,
"c": 0.19482,
"h": 273.9
},
"luminance": 0.05384
}Semantic roles & 50–950 ramp
primary
#2F2CAC
secondary
#C2C470
accent
#E245DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82