#2F2AA8#2F2AA8
#2F2AA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.192 H 274.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2AA8 |
|---|---|
| RGB | rgb(47, 42, 168) |
| HSL | hsl(242, 60%, 41%) |
| HSV | hsv(242, 75%, 66%) |
| CMYK | cmyk(72%, 75%, 0%, 34.1%) |
| CIE-LAB | lab(26.98, 43.19, -66.14) |
| CIE-LCH | lch(26.98, 79.00, 303.15°) |
| OKLab | oklab(38.91% 0.0152 -0.1913) |
| OKLCH | oklch(38.91% 0.192 274.5) |
| XYZ | xyz(9.0658, 5.0865, 37.5422) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 4.31
Royal
#0C1793
ΔE00 5.58
True Blue
#010FCC
ΔE00 5.75
Cobalt Blue
#030AA7
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2AA8 #A3A82A
analogous
#2A64A8 #2F2AA8 #6E2AA8
triadic
#2F2AA8 #A82F2A #2AA82F
tetradic
#2F2AA8 #A82A64 #A3A82A #2AA86E
square
#2F2AA8 #A82A64 #A3A82A #2AA86E
split-complementary
#2F2AA8 #A86E2A #64A82A
monochromatic
#141246 #211E77 #2F2AA8 #4640CF #7571DB
Accessibility & contrast
On white
10.41
#2F2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F2AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2AA8
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2AA8 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2aa8; /* rgb */ color: rgb(47, 42, 168); /* oklch */ color: oklch(38.9% 0.192 274.5);
Tailwind
colors: {
custom: {
50: '#7a65c3',
500: '#2f2aa8',
950: '#000000',
},
}SCSS
$custom: #2f2aa8; $custom-light: #7a65c3; $custom-dark: #000000;
JSON
{
"hex": "#2f2aa8",
"rgb": {
"r": 47,
"g": 42,
"b": 168
},
"hsl": {
"h": 242.381,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.38905,
"c": 0.19188,
"h": 274.5
},
"luminance": 0.05087
}Semantic roles & 50–950 ramp
primary
#2F2AA8
secondary
#BFC36B
accent
#E345DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82