#2F2BA8#2F2BA8
#2F2BA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.191 H 274.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BA8 |
|---|---|
| RGB | rgb(47, 43, 168) |
| HSL | hsl(242, 59%, 41%) |
| HSV | hsv(242, 74%, 66%) |
| CMYK | cmyk(72%, 74.4%, 0%, 34.1%) |
| CIE-LAB | lab(27.18, 42.63, -65.81) |
| CIE-LCH | lch(27.18, 78.41, 302.93°) |
| OKLab | oklab(39.05% 0.0147 -0.1903) |
| OKLCH | oklch(39.05% 0.191 274.4) |
| XYZ | xyz(9.1017, 5.1584, 37.5542) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.08
Royal
#0C1793
ΔE00 5.74
True Blue
#010FCC
ΔE00 5.91
Cobalt Blue
#030AA7
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BA8 #A4A82B
analogous
#2B66A8 #2F2BA8 #6E2BA8
triadic
#2F2BA8 #A82F2B #2BA82F
tetradic
#2F2BA8 #A82B66 #A4A82B #2BA86E
square
#2F2BA8 #A82B66 #A4A82B #2BA86E
split-complementary
#2F2BA8 #A86E2B #66A82B
monochromatic
#141247 #211F77 #2F2BA8 #4642CF #7672DB
Accessibility & contrast
On white
10.34
#2F2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F2BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BA8
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BA8 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f2ba8; /* rgb */ color: rgb(47, 43, 168); /* oklch */ color: oklch(39.0% 0.191 274.4);
Tailwind
colors: {
custom: {
50: '#7a66c3',
500: '#2f2ba8',
950: '#000000',
},
}SCSS
$custom: #2f2ba8; $custom-light: #7a66c3; $custom-dark: #000000;
JSON
{
"hex": "#2f2ba8",
"rgb": {
"r": 47,
"g": 43,
"b": 168
},
"hsl": {
"h": 241.92,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.39048,
"c": 0.19088,
"h": 274.4
},
"luminance": 0.05159
}Semantic roles & 50–950 ramp
primary
#2F2BA8
secondary
#C0C26C
accent
#E245DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82