#2F2BAE#2F2BAE
#2F2BAE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.198 H 273.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2BAE |
|---|---|
| RGB | rgb(47, 43, 174) |
| HSL | hsl(242, 60%, 43%) |
| HSV | hsv(242, 75%, 68%) |
| CMYK | cmyk(73%, 75.3%, 0%, 31.8%) |
| CIE-LAB | lab(27.81, 44.61, -68.38) |
| CIE-LCH | lch(27.81, 81.64, 303.12°) |
| OKLab | oklab(39.68% 0.0135 -0.1978) |
| OKLCH | oklch(39.68% 0.198 273.9) |
| XYZ | xyz(9.6736, 5.3871, 40.5662) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 4.13
True Blue
#010FCC
ΔE00 5.38
Ultramarine
#2000B1
ΔE00 6.22
Royal
#0C1793
ΔE00 6.23
Cobalt Blue
#030AA7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2BAE #AAAE2B
analogous
#2B69AE #2F2BAE #702BAE
triadic
#2F2BAE #AE2F2B #2BAE2F
tetradic
#2F2BAE #AE2B69 #AAAE2B #2BAE70
square
#2F2BAE #AE2B69 #AAAE2B #2BAE70
split-complementary
#2F2BAE #AE702B #69AE2B
monochromatic
#14134C #221F7D #2F2BAE #4945D1 #7976DD
Accessibility & contrast
On white
10.11
#2F2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F2BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2BAE
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2BAE | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f2bae; /* rgb */ color: rgb(47, 43, 174); /* oklch */ color: oklch(39.7% 0.198 273.9);
Tailwind
colors: {
custom: {
50: '#7c66c7',
500: '#2f2bae',
950: '#000000',
},
}SCSS
$custom: #2f2bae; $custom-light: #7c66c7; $custom-dark: #000000;
JSON
{
"hex": "#2f2bae",
"rgb": {
"r": 47,
"g": 43,
"b": 174
},
"hsl": {
"h": 241.832,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.39681,
"c": 0.19826,
"h": 273.9
},
"luminance": 0.05388
}Semantic roles & 50–950 ramp
primary
#2F2BAE
secondary
#C2C570
accent
#E444DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82