#2F2DA5#2F2DA5
#2F2DA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.185 H 274.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DA5 |
|---|---|
| RGB | rgb(47, 45, 165) |
| HSL | hsl(241, 57%, 41%) |
| HSV | hsv(241, 73%, 65%) |
| CMYK | cmyk(71.5%, 72.7%, 0%, 35.3%) |
| CIE-LAB | lab(27.29, 40.46, -63.82) |
| CIE-LCH | lch(27.29, 75.56, 302.37°) |
| OKLab | oklab(39.03% 0.0141 -0.1845) |
| OKLCH | oklch(39.03% 0.185 274.4) |
| XYZ | xyz(8.9000, 5.1969, 36.1241) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Indigo Blue
#3A18B1
ΔE00 4.67
Royal
#0C1793
ΔE00 5.92
True Blue
#010FCC
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 6.61
Blueberry
#464196
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DA5 #A3A52D
analogous
#2D67A5 #2F2DA5 #6B2DA5
triadic
#2F2DA5 #A52F2D #2DA52F
tetradic
#2F2DA5 #A52D67 #A3A52D #2DA56B
square
#2F2DA5 #A52D67 #A3A52D #2DA56B
split-complementary
#2F2DA5 #A56B2D #67A52D
monochromatic
#141345 #212075 #2F2DA5 #4643CC #7573D9
Accessibility & contrast
On white
10.30
#2F2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F2DA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DA5
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DA5 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2da5; /* rgb */ color: rgb(47, 45, 165); /* oklch */ color: oklch(39.0% 0.185 274.4);
Tailwind
colors: {
custom: {
50: '#7967c1',
500: '#2f2da5',
950: '#000000',
},
}SCSS
$custom: #2f2da5; $custom-light: #7967c1; $custom-dark: #000000;
JSON
{
"hex": "#2f2da5",
"rgb": {
"r": 47,
"g": 45,
"b": 165
},
"hsl": {
"h": 241,
"s": 57.143,
"l": 41.176
},
"oklch": {
"l": 0.39032,
"c": 0.18507,
"h": 274.4
},
"luminance": 0.05198
}Semantic roles & 50–950 ramp
primary
#2F2DA5
secondary
#BFC16D
accent
#E047DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81