#2C2FB4#2C2FB4
#2C2FB4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.7% C 0.202 H 272.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FB4 |
|---|---|
| RGB | rgb(44, 47, 180) |
| HSL | hsl(239, 61%, 44%) |
| HSV | hsv(239, 76%, 71%) |
| CMYK | cmyk(75.6%, 73.9%, 0%, 29.4%) |
| CIE-LAB | lab(29.06, 44.07, -69.90) |
| CIE-LCH | lch(29.06, 82.63, 302.23°) |
| OKLab | oklab(40.71% 0.007 -0.2023) |
| OKLCH | oklch(40.71% 0.202 272) |
| XYZ | xyz(10.2907, 5.8627, 43.7604) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Indigo Blue
#3A18B1
ΔE00 4.81
True Blue
#010FCC
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.05
Blue With A Hint Of Purple
#533CC6
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FB4 #B4B12C
analogous
#2C73B4 #2C2FB4 #6D2CB4
triadic
#2C2FB4 #B42C2F #2FB42C
tetradic
#2C2FB4 #B42C73 #B4B12C #2CB46D
square
#2C2FB4 #B42C73 #B4B12C #2CB46D
split-complementary
#2C2FB4 #B46D2C #73B42C
monochromatic
#141552 #202283 #2C2FB4 #4A4DD3 #7C7EDF
Accessibility & contrast
On white
9.66
#2C2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C2FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FB4
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FB4 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c2fb4; /* rgb */ color: rgb(44, 47, 180); /* oklch */ color: oklch(40.7% 0.202 272.0);
Tailwind
colors: {
custom: {
50: '#7c69cc',
500: '#2c2fb4',
950: '#000000',
},
}SCSS
$custom: #2c2fb4; $custom-light: #7c69cc; $custom-dark: #000000;
JSON
{
"hex": "#2c2fb4",
"rgb": {
"r": 44,
"g": 47,
"b": 180
},
"hsl": {
"h": 238.676,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.40709,
"c": 0.20244,
"h": 272
},
"luminance": 0.05864
}Semantic roles & 50–950 ramp
primary
#2C2FB4
secondary
#C7C575
accent
#E044E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82