#2F2A73#2F2A73
#2F2A73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.121 H 280.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2A73 |
|---|---|
| RGB | rgb(47, 42, 115) |
| HSL | hsl(244, 46%, 31%) |
| HSV | hsv(244, 63%, 45%) |
| CMYK | cmyk(59.1%, 63.5%, 0%, 54.9%) |
| CIE-LAB | lab(21.94, 24.99, -41.49) |
| CIE-LCH | lch(21.94, 48.43, 301.07°) |
| OKLab | oklab(33.73% 0.0227 -0.1191) |
| OKLCH | oklch(33.73% 0.121 280.8) |
| XYZ | xyz(5.0938, 3.4977, 16.6230) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.06
Darkslateblue
#483D8B
ΔE00 6.61
Royal
#0C1793
ΔE00 7.89
Blueberry
#464196
ΔE00 8.09
Marine
#042E60
ΔE00 8.44
Dark Indigo
#1F0954
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2A73 #6E732A
analogous
#2A4973 #2F2A73 #532A73
triadic
#2F2A73 #732F2A #2A732F
tetradic
#2F2A73 #732A49 #6E732A #2A7353
square
#2F2A73 #732A49 #6E732A #2A7353
split-complementary
#2F2A73 #73532A #49732A
monochromatic
#0A0919 #1D1A46 #2F2A73 #413AA0 #5D56C1
Accessibility & contrast
On white
12.36
#2F2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2F2A73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2A73
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2A73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2A73 | 1.00 | 12.36 | 1.70 | 12.36 |
| #FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#0B3C4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2f2a73; /* rgb */ color: rgb(47, 42, 115); /* oklch */ color: oklch(33.7% 0.121 280.8);
Tailwind
colors: {
custom: {
50: '#6f649c',
500: '#2f2a73',
950: '#000000',
},
}SCSS
$custom: #2f2a73; $custom-light: #6f649c; $custom-dark: #000000;
JSON
{
"hex": "#2f2a73",
"rgb": {
"r": 47,
"g": 42,
"b": 115
},
"hsl": {
"h": 244.11,
"s": 46.497,
"l": 30.784
},
"oklch": {
"l": 0.33734,
"c": 0.12125,
"h": 280.8
},
"luminance": 0.03498
}Semantic roles & 50–950 ramp
primary
#2F2A73
secondary
#9FA554
accent
#D652CD
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E