#2F2BA5#2F2BA5
#2F2BA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.187 H 274.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BA5 |
|---|---|
| RGB | rgb(47, 43, 165) |
| HSL | hsl(242, 59%, 41%) |
| HSV | hsv(242, 74%, 65%) |
| CMYK | cmyk(71.5%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(26.87, 41.63, -64.51) |
| CIE-LCH | lch(26.87, 76.77, 302.83°) |
| OKLab | oklab(38.73% 0.0152 -0.1865) |
| OKLCH | oklch(38.73% 0.187 274.7) |
| XYZ | xyz(8.8254, 5.0479, 36.0992) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Indigo Blue
#3A18B1
ΔE00 4.22
Royal
#0C1793
ΔE00 5.54
Cobalt Blue
#030AA7
ΔE00 6.15
True Blue
#010FCC
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BA5 #A1A52B
analogous
#2B64A5 #2F2BA5 #6C2BA5
triadic
#2F2BA5 #A52F2B #2BA52F
tetradic
#2F2BA5 #A52B64 #A1A52B #2BA56C
square
#2F2BA5 #A52B64 #A1A52B #2BA56C
split-complementary
#2F2BA5 #A56C2B #64A52B
monochromatic
#131244 #211E74 #2F2BA5 #4540CD #7471DA
Accessibility & contrast
On white
10.45
#2F2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2F2BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BA5
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BA5 | 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)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ba5; /* rgb */ color: rgb(47, 43, 165); /* oklch */ color: oklch(38.7% 0.187 274.7);
Tailwind
colors: {
custom: {
50: '#7a66c1',
500: '#2f2ba5',
950: '#000000',
},
}SCSS
$custom: #2f2ba5; $custom-light: #7a66c1; $custom-dark: #000000;
JSON
{
"hex": "#2f2ba5",
"rgb": {
"r": 47,
"g": 43,
"b": 165
},
"hsl": {
"h": 241.967,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.38734,
"c": 0.18715,
"h": 274.7
},
"luminance": 0.05049
}Semantic roles & 50–950 ramp
primary
#2F2BA5
secondary
#BEC16B
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81