#2F2BA4#2F2BA4
#2F2BA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.186 H 274.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BA4 |
|---|---|
| RGB | rgb(47, 43, 164) |
| HSL | hsl(242, 58%, 41%) |
| HSV | hsv(242, 74%, 64%) |
| CMYK | cmyk(71.3%, 73.8%, 0%, 35.7%) |
| CIE-LAB | lab(26.77, 41.29, -64.07) |
| CIE-LCH | lch(26.77, 76.23, 302.80°) |
| OKLab | oklab(38.63% 0.0154 -0.1853) |
| OKLCH | oklch(38.63% 0.186 274.8) |
| XYZ | xyz(8.7348, 5.0116, 35.6218) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Indigo Blue
#3A18B1
ΔE00 4.29
Royal
#0C1793
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 6.15
True Blue
#010FCC
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BA4 #A0A42B
analogous
#2B64A4 #2F2BA4 #6B2BA4
triadic
#2F2BA4 #A42F2B #2BA42F
tetradic
#2F2BA4 #A42B64 #A0A42B #2BA46B
square
#2F2BA4 #A42B64 #A0A42B #2BA46B
split-complementary
#2F2BA4 #A46B2B #64A42B
monochromatic
#131243 #211E74 #2F2BA4 #443FCD #7370D9
Accessibility & contrast
On white
10.49
#2F2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F2BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BA4
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BA4 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2ba4; /* rgb */ color: rgb(47, 43, 164); /* oklch */ color: oklch(38.6% 0.186 274.8);
Tailwind
colors: {
custom: {
50: '#7966c0',
500: '#2f2ba4',
950: '#000000',
},
}SCSS
$custom: #2f2ba4; $custom-light: #7966c0; $custom-dark: #000000;
JSON
{
"hex": "#2f2ba4",
"rgb": {
"r": 47,
"g": 43,
"b": 164
},
"hsl": {
"h": 241.983,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.3863,
"c": 0.1859,
"h": 274.8
},
"luminance": 0.05012
}Semantic roles & 50–950 ramp
primary
#2F2BA4
secondary
#BEC16A
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81