#2F2CA0#2F2CA0
#2F2CA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.180 H 275.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2CA0 |
|---|---|
| RGB | rgb(47, 44, 160) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(70.6%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(26.57, 39.36, -61.97) |
| CIE-LCH | lch(26.57, 73.41, 302.42°) |
| OKLab | oklab(38.37% 0.0155 -0.1791) |
| OKLCH | oklch(38.37% 0.18 275) |
| XYZ | xyz(8.4160, 4.9430, 33.7615) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Indigo Blue
#3A18B1
ΔE00 4.81
Royal
#0C1793
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.46
Blueberry
#464196
ΔE00 6.66
Ultramarine
#2000B1
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2CA0 #9DA02C
analogous
#2C63A0 #2F2CA0 #692CA0
triadic
#2F2CA0 #A02F2C #2CA02F
tetradic
#2F2CA0 #A02C63 #9DA02C #2CA069
square
#2F2CA0 #A02C63 #9DA02C #2CA069
split-complementary
#2F2CA0 #A0692C #63A02C
monochromatic
#131240 #211F70 #2F2CA0 #433FCA #726FD7
Accessibility & contrast
On white
10.56
#2F2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2CA0
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2CA0 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f2ca0; /* rgb */ color: rgb(47, 44, 160); /* oklch */ color: oklch(38.4% 0.180 275.0);
Tailwind
colors: {
custom: {
50: '#7866bd',
500: '#2f2ca0',
950: '#000000',
},
}SCSS
$custom: #2f2ca0; $custom-light: #7866bd; $custom-dark: #000000;
JSON
{
"hex": "#2f2ca0",
"rgb": {
"r": 47,
"g": 44,
"b": 160
},
"hsl": {
"h": 241.552,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.38368,
"c": 0.1798,
"h": 275
},
"luminance": 0.04944
}Semantic roles & 50–950 ramp
primary
#2F2CA0
secondary
#BCBF69
accent
#E048DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81