#2F2DA7#2F2DA7
#2F2DA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.188 H 274.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DA7 |
|---|---|
| RGB | rgb(47, 45, 167) |
| HSL | hsl(241, 58%, 42%) |
| HSV | hsv(241, 73%, 65%) |
| CMYK | cmyk(71.9%, 73.1%, 0%, 34.5%) |
| CIE-LAB | lab(27.49, 41.14, -64.69) |
| CIE-LCH | lch(27.49, 76.67, 302.45°) |
| OKLab | oklab(39.24% 0.0138 -0.1871) |
| OKLCH | oklch(39.24% 0.188 274.2) |
| XYZ | xyz(9.0834, 5.2702, 37.0903) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Indigo Blue
#3A18B1
ΔE00 4.55
Royal
#0C1793
ΔE00 6.04
True Blue
#010FCC
ΔE00 6.34
Cobalt Blue
#030AA7
ΔE00 6.61
Ocean Blue
#4F42B5
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DA7 #A5A72D
analogous
#2D68A7 #2F2DA7 #6C2DA7
triadic
#2F2DA7 #A72F2D #2DA72F
tetradic
#2F2DA7 #A72D68 #A5A72D #2DA76C
square
#2F2DA7 #A72D68 #A5A72D #2DA76C
split-complementary
#2F2DA7 #A76C2D #68A72D
monochromatic
#141347 #212077 #2F2DA7 #4744CD #7675DA
Accessibility & contrast
On white
10.22
#2F2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F2DA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DA7
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DA7 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2da7; /* rgb */ color: rgb(47, 45, 167); /* oklch */ color: oklch(39.2% 0.188 274.2);
Tailwind
colors: {
custom: {
50: '#7a67c2',
500: '#2f2da7',
950: '#000000',
},
}SCSS
$custom: #2f2da7; $custom-light: #7a67c2; $custom-dark: #000000;
JSON
{
"hex": "#2f2da7",
"rgb": {
"r": 47,
"g": 45,
"b": 167
},
"hsl": {
"h": 240.984,
"s": 57.547,
"l": 41.569
},
"oklch": {
"l": 0.39238,
"c": 0.18758,
"h": 274.2
},
"luminance": 0.05271
}Semantic roles & 50–950 ramp
primary
#2F2DA7
secondary
#C0C16E
accent
#E147DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82