#2F2BA3#2F2BA3
#2F2BA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.185 H 274.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BA3 |
|---|---|
| RGB | rgb(47, 43, 163) |
| HSL | hsl(242, 58%, 40%) |
| HSV | hsv(242, 74%, 64%) |
| CMYK | cmyk(71.2%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(26.67, 40.96, -63.64) |
| CIE-LCH | lch(26.67, 75.68, 302.77°) |
| OKLab | oklab(38.53% 0.0156 -0.184) |
| OKLCH | oklch(38.53% 0.185 274.8) |
| XYZ | xyz(8.6448, 4.9756, 35.1480) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.16
Indigo Blue
#3A18B1
ΔE00 4.36
Royal
#0C1793
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 6.17
True Blue
#010FCC
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BA3 #9FA32B
analogous
#2B63A3 #2F2BA3 #6B2BA3
triadic
#2F2BA3 #A32F2B #2BA32F
tetradic
#2F2BA3 #A32B63 #9FA32B #2BA36B
square
#2F2BA3 #A32B63 #9FA32B #2BA36B
split-complementary
#2F2BA3 #A36B2B #63A32B
monochromatic
#131142 #211E73 #2F2BA3 #443FCC #736FD9
Accessibility & contrast
On white
10.53
#2F2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F2BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BA3
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BA3 | 1.00 | 10.53 | 2.00 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2ba3; /* rgb */ color: rgb(47, 43, 163); /* oklch */ color: oklch(38.5% 0.185 274.8);
Tailwind
colors: {
custom: {
50: '#7966bf',
500: '#2f2ba3',
950: '#000000',
},
}SCSS
$custom: #2f2ba3; $custom-light: #7966bf; $custom-dark: #000000;
JSON
{
"hex": "#2f2ba3",
"rgb": {
"r": 47,
"g": 43,
"b": 163
},
"hsl": {
"h": 242,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.38526,
"c": 0.18465,
"h": 274.8
},
"luminance": 0.04976
}Semantic roles & 50–950 ramp
primary
#2F2BA3
secondary
#BDC06A
accent
#E146DC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81