#2F2DA3#2F2DA3
#2F2DA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.183 H 274.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DA3 |
|---|---|
| RGB | rgb(47, 45, 163) |
| HSL | hsl(241, 57%, 41%) |
| HSV | hsv(241, 72%, 64%) |
| CMYK | cmyk(71.2%, 72.4%, 0%, 36.1%) |
| CIE-LAB | lab(27.09, 39.78, -62.94) |
| CIE-LCH | lch(27.09, 74.46, 302.30°) |
| OKLab | oklab(38.83% 0.0144 -0.182) |
| OKLCH | oklch(38.83% 0.183 274.5) |
| XYZ | xyz(8.7193, 5.1246, 35.1729) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Indigo Blue
#3A18B1
ΔE00 4.81
Royal
#0C1793
ΔE00 5.81
Blueberry
#464196
ΔE00 6.58
Cobalt Blue
#030AA7
ΔE00 6.64
True Blue
#010FCC
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DA3 #A1A32D
analogous
#2D66A3 #2F2DA3 #6A2DA3
triadic
#2F2DA3 #A32F2D #2DA32F
tetradic
#2F2DA3 #A32D66 #A1A32D #2DA36A
square
#2F2DA3 #A32D66 #A1A32D #2DA36A
split-complementary
#2F2DA3 #A36A2D #66A32D
monochromatic
#131343 #212073 #2F2DA3 #4542CB #7472D8
Accessibility & contrast
On white
10.37
#2F2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F2DA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DA3
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DA3 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 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: #2f2da3; /* rgb */ color: rgb(47, 45, 163); /* oklch */ color: oklch(38.8% 0.183 274.5);
Tailwind
colors: {
custom: {
50: '#7967bf',
500: '#2f2da3',
950: '#000000',
},
}SCSS
$custom: #2f2da3; $custom-light: #7967bf; $custom-dark: #000000;
JSON
{
"hex": "#2f2da3",
"rgb": {
"r": 47,
"g": 45,
"b": 163
},
"hsl": {
"h": 241.017,
"s": 56.731,
"l": 40.784
},
"oklch": {
"l": 0.38827,
"c": 0.18254,
"h": 274.5
},
"luminance": 0.05125
}Semantic roles & 50–950 ramp
primary
#2F2DA3
secondary
#BEC06C
accent
#E048DD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81