#2F2DA8#2F2DA8
#2F2DA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.189 H 274.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DA8 |
|---|---|
| RGB | rgb(47, 45, 168) |
| HSL | hsl(241, 58%, 42%) |
| HSV | hsv(241, 73%, 66%) |
| CMYK | cmyk(72%, 73.2%, 0%, 34.1%) |
| CIE-LAB | lab(27.59, 41.47, -65.13) |
| CIE-LCH | lch(27.59, 77.21, 302.49°) |
| OKLab | oklab(39.34% 0.0136 -0.1883) |
| OKLCH | oklch(39.34% 0.189 274.1) |
| XYZ | xyz(9.1762, 5.3074, 37.5790) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 4.50
Royal
#0C1793
ΔE00 6.10
True Blue
#010FCC
ΔE00 6.25
Cobalt Blue
#030AA7
ΔE00 6.61
Ocean Blue
#4F42B5
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DA8 #A6A82D
analogous
#2D68A8 #2F2DA8 #6D2DA8
triadic
#2F2DA8 #A82F2D #2DA82F
tetradic
#2F2DA8 #A82D68 #A6A82D #2DA86D
square
#2F2DA8 #A82D68 #A6A82D #2DA86D
split-complementary
#2F2DA8 #A86D2D #68A82D
monochromatic
#141347 #212078 #2F2DA8 #4745CD #7775DA
Accessibility & contrast
On white
10.19
#2F2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F2DA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DA8
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DA8 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f2da8; /* rgb */ color: rgb(47, 45, 168); /* oklch */ color: oklch(39.3% 0.189 274.1);
Tailwind
colors: {
custom: {
50: '#7a67c3',
500: '#2f2da8',
950: '#000000',
},
}SCSS
$custom: #2f2da8; $custom-light: #7a67c3; $custom-dark: #000000;
JSON
{
"hex": "#2f2da8",
"rgb": {
"r": 47,
"g": 45,
"b": 168
},
"hsl": {
"h": 240.976,
"s": 57.746,
"l": 41.765
},
"oklch": {
"l": 0.39341,
"c": 0.18884,
"h": 274.1
},
"luminance": 0.05308
}Semantic roles & 50–950 ramp
primary
#2F2DA8
secondary
#C1C26F
accent
#E147DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82