#2F2CA3#2F2CA3
#2F2CA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.184 H 274.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA3 |
|---|---|
| RGB | rgb(47, 44, 163) |
| HSL | hsl(242, 57%, 41%) |
| HSV | hsv(242, 73%, 64%) |
| CMYK | cmyk(71.2%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(26.87, 40.37, -63.29) |
| CIE-LCH | lch(26.87, 75.07, 302.53°) |
| OKLab | oklab(38.68% 0.015 -0.183) |
| OKLCH | oklch(38.68% 0.184 274.7) |
| XYZ | xyz(8.6816, 5.0492, 35.1603) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 4.58
Royal
#0C1793
ΔE00 5.61
Cobalt Blue
#030AA7
ΔE00 6.40
True Blue
#010FCC
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA3 #A0A32C
analogous
#2C64A3 #2F2CA3 #6B2CA3
triadic
#2F2CA3 #A32F2C #2CA32F
tetradic
#2F2CA3 #A32C64 #A0A32C #2CA36B
square
#2F2CA3 #A32C64 #A0A32C #2CA36B
split-complementary
#2F2CA3 #A36B2C #64A32C
monochromatic
#131243 #211F73 #2F2CA3 #4441CC #7371D9
Accessibility & contrast
On white
10.45
#2F2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2F2CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA3
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA3 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ca3; /* rgb */ color: rgb(47, 44, 163); /* oklch */ color: oklch(38.7% 0.184 274.7);
Tailwind
colors: {
custom: {
50: '#7966bf',
500: '#2f2ca3',
950: '#000000',
},
}SCSS
$custom: #2f2ca3; $custom-light: #7966bf; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca3",
"rgb": {
"r": 47,
"g": 44,
"b": 163
},
"hsl": {
"h": 241.513,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.38676,
"c": 0.1836,
"h": 274.7
},
"luminance": 0.0505
}Semantic roles & 50–950 ramp
primary
#2F2CA3
secondary
#BEC06B
accent
#E147DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81