#2C2FAF#2C2FAF
#2C2FAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.196 H 272.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2FAF |
|---|---|
| RGB | rgb(44, 47, 175) |
| HSL | hsl(239, 60%, 43%) |
| HSV | hsv(239, 75%, 69%) |
| CMYK | cmyk(74.9%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(28.54, 42.38, -67.77) |
| CIE-LCH | lch(28.54, 79.93, 302.02°) |
| OKLab | oklab(40.18% 0.0078 -0.1961) |
| OKLCH | oklch(40.18% 0.196 272.3) |
| XYZ | xyz(9.7905, 5.6626, 41.1261) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.09
Indigo Blue
#3A18B1
ΔE00 4.87
True Blue
#010FCC
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.08
Ocean Blue
#4F42B5
ΔE00 6.20
Blue With A Hint Of Purple
#533CC6
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2FAF #AFAC2C
analogous
#2C70AF #2C2FAF #6A2CAF
triadic
#2C2FAF #AF2C2F #2FAF2C
tetradic
#2C2FAF #AF2C70 #AFAC2C #2CAF6A
square
#2C2FAF #AF2C70 #AFAC2C #2CAF6A
split-complementary
#2C2FAF #AF6A2C #70AF2C
monochromatic
#13154D #20227E #2C2FAF #474BD1 #787BDD
Accessibility & contrast
On white
9.85
#2C2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2C2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2FAF
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2FAF | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c2faf; /* rgb */ color: rgb(44, 47, 175); /* oklch */ color: oklch(40.2% 0.196 272.3);
Tailwind
colors: {
custom: {
50: '#7a69c8',
500: '#2c2faf',
950: '#000000',
},
}SCSS
$custom: #2c2faf; $custom-light: #7a69c8; $custom-dark: #000000;
JSON
{
"hex": "#2c2faf",
"rgb": {
"r": 44,
"g": 47,
"b": 175
},
"hsl": {
"h": 238.626,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.40185,
"c": 0.19629,
"h": 272.3
},
"luminance": 0.05664
}Semantic roles & 50–950 ramp
primary
#2C2FAF
secondary
#C5C372
accent
#DF45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82