#2F2696#2F2696
#2F2696 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.173 H 277.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2696 |
|---|---|
| RGB | rgb(47, 38, 150) |
| HSL | hsl(245, 60%, 37%) |
| HSV | hsv(245, 75%, 59%) |
| CMYK | cmyk(68.7%, 74.7%, 0%, 41.2%) |
| CIE-LAB | lab(24.30, 39.51, -59.60) |
| CIE-LCH | lch(24.30, 71.51, 303.54°) |
| OKLab | oklab(36.44% 0.0211 -0.1722) |
| OKLCH | oklch(36.44% 0.173 277) |
| XYZ | xyz(7.3686, 4.1919, 29.2691) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 4.77
Cobalt Blue
#030AA7
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 5.89
Royal Blue (survey)
#0504AA
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2696 #8D9626
analogous
#265596 #2F2696 #672696
triadic
#2F2696 #962F26 #26962F
tetradic
#2F2696 #962655 #8D9626 #269667
square
#2F2696 #962655 #8D9626 #269667
split-complementary
#2F2696 #966726 #559626
monochromatic
#100D34 #201A65 #2F2696 #3E32C7 #6960D7
Accessibility & contrast
On white
11.42
#2F2696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F2696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2696
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2696 | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f2696; /* rgb */ color: rgb(47, 38, 150); /* oklch */ color: oklch(36.4% 0.173 277.0);
Tailwind
colors: {
custom: {
50: '#7762b6',
500: '#2f2696',
950: '#000000',
},
}SCSS
$custom: #2f2696; $custom-light: #7762b6; $custom-dark: #000000;
JSON
{
"hex": "#2f2696",
"rgb": {
"r": 47,
"g": 38,
"b": 150
},
"hsl": {
"h": 244.821,
"s": 59.574,
"l": 36.863
},
"oklch": {
"l": 0.36442,
"c": 0.17348,
"h": 277
},
"luminance": 0.04193
}Semantic roles & 50–950 ramp
primary
#2F2696
secondary
#B4BC5C
accent
#E345D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980