#2F2CA4#2F2CA4
#2F2CA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.185 H 274.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA4 |
|---|---|
| RGB | rgb(47, 44, 164) |
| HSL | hsl(242, 58%, 41%) |
| HSV | hsv(242, 73%, 64%) |
| CMYK | cmyk(71.3%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(26.98, 40.71, -63.73) |
| CIE-LCH | lch(26.98, 75.62, 302.57°) |
| OKLab | oklab(38.78% 0.0148 -0.1843) |
| OKLCH | oklch(38.78% 0.185 274.6) |
| XYZ | xyz(8.7716, 5.0852, 35.6340) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 4.51
Royal
#0C1793
ΔE00 5.66
Cobalt Blue
#030AA7
ΔE00 6.39
True Blue
#010FCC
ΔE00 6.47
Ultramarine
#2000B1
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA4 #A1A42C
analogous
#2C65A4 #2F2CA4 #6B2CA4
triadic
#2F2CA4 #A42F2C #2CA42F
tetradic
#2F2CA4 #A42C65 #A1A42C #2CA46B
square
#2F2CA4 #A42C65 #A1A42C #2CA46B
split-complementary
#2F2CA4 #A46B2C #65A42C
monochromatic
#131243 #211F74 #2F2CA4 #4541CC #7471D9
Accessibility & contrast
On white
10.41
#2F2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F2CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA4
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA4 | 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)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ca4; /* rgb */ color: rgb(47, 44, 164); /* oklch */ color: oklch(38.8% 0.185 274.6);
Tailwind
colors: {
custom: {
50: '#7967c0',
500: '#2f2ca4',
950: '#000000',
},
}SCSS
$custom: #2f2ca4; $custom-light: #7967c0; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca4",
"rgb": {
"r": 47,
"g": 44,
"b": 164
},
"hsl": {
"h": 241.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.38779,
"c": 0.18486,
"h": 274.6
},
"luminance": 0.05086
}Semantic roles & 50–950 ramp
primary
#2F2CA4
secondary
#BEC06B
accent
#E147DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81