#2C179F#2C179F
#2C179F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.198 H 276.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C179F |
|---|---|
| RGB | rgb(44, 23, 159) |
| HSL | hsl(249, 75%, 36%) |
| HSV | hsv(249, 86%, 62%) |
| CMYK | cmyk(72.3%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(22.48, 49.55, -68.13) |
| CIE-LCH | lch(22.48, 84.24, 306.03°) |
| OKLab | oklab(35.41% 0.0215 -0.1969) |
| OKLCH | oklch(35.41% 0.198 276.2) |
| XYZ | xyz(7.6011, 3.6507, 33.0982) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.74
Indigo Blue
#3A18B1
ΔE00 2.96
Royal
#0C1793
ΔE00 3.01
Royal Blue (survey)
#0504AA
ΔE00 3.08
Ultramarine
#2000B1
ΔE00 3.11
Darkblue
#00008B
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C179F #8A9F17
analogous
#17469F #2C179F #70179F
triadic
#2C179F #9F2C17 #179F2C
tetradic
#2C179F #9F1746 #8A9F17 #179F70
square
#2C179F #9F1746 #8A9F17 #179F70
split-complementary
#2C179F #9F7017 #469F17
monochromatic
#0E0834 #1D0F6A #2C179F #3B1FD4 #634BE5
Accessibility & contrast
On white
12.14
#2C179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2C179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C179F
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C179F | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c179f; /* rgb */ color: rgb(44, 23, 159); /* oklch */ color: oklch(35.4% 0.198 276.2);
Tailwind
colors: {
custom: {
50: '#795abd',
500: '#2c179f',
950: '#000000',
},
}SCSS
$custom: #2c179f; $custom-light: #795abd; $custom-dark: #000000;
JSON
{
"hex": "#2c179f",
"rgb": {
"r": 44,
"g": 23,
"b": 159
},
"hsl": {
"h": 249.265,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.35414,
"c": 0.19803,
"h": 276.2
},
"luminance": 0.03651
}Semantic roles & 50–950 ramp
primary
#2C179F
secondary
#B4C74B
accent
#F136D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981