#2C2FB1#2C2FB1
#2C2FB1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.199 H 272.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FB1 |
|---|---|
| RGB | rgb(44, 47, 177) |
| HSL | hsl(239, 60%, 43%) |
| HSV | hsv(239, 75%, 69%) |
| CMYK | cmyk(75.1%, 73.4%, 0%, 30.6%) |
| CIE-LAB | lab(28.75, 43.06, -68.62) |
| CIE-LCH | lch(28.75, 81.01, 302.11°) |
| OKLab | oklab(40.39% 0.0075 -0.1986) |
| OKLCH | oklch(40.39% 0.199 272.2) |
| XYZ | xyz(9.9884, 5.7418, 42.1683) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 4.83
True Blue
#010FCC
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.13
Blue With A Hint Of Purple
#533CC6
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FB1 #B1AE2C
analogous
#2C71B1 #2C2FB1 #6C2CB1
triadic
#2C2FB1 #B12C2F #2FB12C
tetradic
#2C2FB1 #B12C71 #B1AE2C #2CB16C
square
#2C2FB1 #B12C71 #B1AE2C #2CB16C
split-complementary
#2C2FB1 #B16C2C #71B12C
monochromatic
#14154F #202280 #2C2FB1 #494CD2 #7A7CDE
Accessibility & contrast
On white
9.77
#2C2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C2FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FB1
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FB1 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c2fb1; /* rgb */ color: rgb(44, 47, 177); /* oklch */ color: oklch(40.4% 0.199 272.2);
Tailwind
colors: {
custom: {
50: '#7b69ca',
500: '#2c2fb1',
950: '#000000',
},
}SCSS
$custom: #2c2fb1; $custom-light: #7b69ca; $custom-dark: #000000;
JSON
{
"hex": "#2c2fb1",
"rgb": {
"r": 44,
"g": 47,
"b": 177
},
"hsl": {
"h": 238.647,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.40394,
"c": 0.19875,
"h": 272.2
},
"luminance": 0.05743
}Semantic roles & 50–950 ramp
primary
#2C2FB1
secondary
#C6C473
accent
#E044E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82