#2F2DA9#2F2DA9
#2F2DA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.190 H 274.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DA9 |
|---|---|
| RGB | rgb(47, 45, 169) |
| HSL | hsl(241, 58%, 42%) |
| HSV | hsv(241, 73%, 66%) |
| CMYK | cmyk(72.2%, 73.4%, 0%, 33.7%) |
| CIE-LAB | lab(27.70, 41.81, -65.56) |
| CIE-LCH | lch(27.70, 77.76, 302.53°) |
| OKLab | oklab(39.44% 0.0134 -0.1896) |
| OKLCH | oklch(39.44% 0.19 274) |
| XYZ | xyz(9.2697, 5.3448, 38.0715) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 4.45
True Blue
#010FCC
ΔE00 6.15
Royal
#0C1793
ΔE00 6.17
Ocean Blue
#4F42B5
ΔE00 6.60
Cobalt Blue
#030AA7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DA9 #A7A92D
analogous
#2D69A9 #2F2DA9 #6D2DA9
triadic
#2F2DA9 #A92F2D #2DA92F
tetradic
#2F2DA9 #A92D69 #A7A92D #2DA96D
square
#2F2DA9 #A92D69 #A7A92D #2DA96D
split-complementary
#2F2DA9 #A96D2D #69A92D
monochromatic
#141348 #222079 #2F2DA9 #4846CE #7876DA
Accessibility & contrast
On white
10.15
#2F2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F2DA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DA9
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DA9 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2da9; /* rgb */ color: rgb(47, 45, 169); /* oklch */ color: oklch(39.4% 0.190 274.0);
Tailwind
colors: {
custom: {
50: '#7a67c4',
500: '#2f2da9',
950: '#000000',
},
}SCSS
$custom: #2f2da9; $custom-light: #7a67c4; $custom-dark: #000000;
JSON
{
"hex": "#2f2da9",
"rgb": {
"r": 47,
"g": 45,
"b": 169
},
"hsl": {
"h": 240.968,
"s": 57.944,
"l": 41.961
},
"oklch": {
"l": 0.39444,
"c": 0.19009,
"h": 274
},
"luminance": 0.05346
}Semantic roles & 50–950 ramp
primary
#2F2DA9
secondary
#C1C26F
accent
#E147DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82