#2C2FB0#2C2FB0
#2C2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.198 H 272.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FB0 |
|---|---|
| RGB | rgb(44, 47, 176) |
| HSL | hsl(239, 60%, 43%) |
| HSV | hsv(239, 75%, 69%) |
| CMYK | cmyk(75%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(28.65, 42.72, -68.20) |
| CIE-LCH | lch(28.65, 80.47, 302.06°) |
| OKLab | oklab(40.29% 0.0077 -0.1974) |
| OKLCH | oklch(40.29% 0.198 272.2) |
| XYZ | xyz(9.8891, 5.7021, 41.6453) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Indigo Blue
#3A18B1
ΔE00 4.85
True Blue
#010FCC
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.16
Blue With A Hint Of Purple
#533CC6
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FB0 #B0AD2C
analogous
#2C71B0 #2C2FB0 #6B2CB0
triadic
#2C2FB0 #B02C2F #2FB02C
tetradic
#2C2FB0 #B02C71 #B0AD2C #2CB06B
square
#2C2FB0 #B02C71 #B0AD2C #2CB06B
split-complementary
#2C2FB0 #B06B2C #71B02C
monochromatic
#14154E #20227F #2C2FB0 #484BD1 #797BDD
Accessibility & contrast
On white
9.81
#2C2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2C2FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FB0
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FB0 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c2fb0; /* rgb */ color: rgb(44, 47, 176); /* oklch */ color: oklch(40.3% 0.198 272.2);
Tailwind
colors: {
custom: {
50: '#7b69c9',
500: '#2c2fb0',
950: '#000000',
},
}SCSS
$custom: #2c2fb0; $custom-light: #7b69c9; $custom-dark: #000000;
JSON
{
"hex": "#2c2fb0",
"rgb": {
"r": 44,
"g": 47,
"b": 176
},
"hsl": {
"h": 238.636,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.40289,
"c": 0.19752,
"h": 272.2
},
"luminance": 0.05703
}Semantic roles & 50–950 ramp
primary
#2C2FB0
secondary
#C6C472
accent
#E045E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82