#2F2BA6#2F2BA6
#2F2BA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.188 H 274.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BA6 |
|---|---|
| RGB | rgb(47, 43, 166) |
| HSL | hsl(242, 59%, 41%) |
| HSV | hsv(242, 74%, 65%) |
| CMYK | cmyk(71.7%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(26.97, 41.96, -64.94) |
| CIE-LCH | lch(26.97, 77.32, 302.87°) |
| OKLab | oklab(38.84% 0.015 -0.1878) |
| OKLCH | oklch(38.84% 0.188 274.6) |
| XYZ | xyz(8.9168, 5.0844, 36.5805) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.10
Indigo Blue
#3A18B1
ΔE00 4.16
Royal
#0C1793
ΔE00 5.60
True Blue
#010FCC
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.14
Ultramarine
#2000B1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BA6 #A2A62B
analogous
#2B64A6 #2F2BA6 #6C2BA6
triadic
#2F2BA6 #A62F2B #2BA62F
tetradic
#2F2BA6 #A62B64 #A2A62B #2BA66C
square
#2F2BA6 #A62B64 #A2A62B #2BA66C
split-complementary
#2F2BA6 #A66C2B #64A62B
monochromatic
#131245 #211E75 #2F2BA6 #4541CE #7571DA
Accessibility & contrast
On white
10.41
#2F2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BA6
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BA6 | 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)
#0045AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ba6; /* rgb */ color: rgb(47, 43, 166); /* oklch */ color: oklch(38.8% 0.188 274.6);
Tailwind
colors: {
custom: {
50: '#7a66c2',
500: '#2f2ba6',
950: '#000000',
},
}SCSS
$custom: #2f2ba6; $custom-light: #7a66c2; $custom-dark: #000000;
JSON
{
"hex": "#2f2ba6",
"rgb": {
"r": 47,
"g": 43,
"b": 166
},
"hsl": {
"h": 241.951,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.38838,
"c": 0.1884,
"h": 274.6
},
"luminance": 0.05085
}Semantic roles & 50–950 ramp
primary
#2F2BA6
secondary
#BFC16B
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81