#2C189F#2C189F
#2C189F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.197 H 276.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2C189F |
|---|---|
| RGB | rgb(44, 24, 159) |
| HSL | hsl(249, 74%, 36%) |
| HSV | hsv(249, 85%, 62%) |
| CMYK | cmyk(72.3%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(22.62, 49.13, -67.89) |
| CIE-LCH | lch(22.62, 83.81, 305.89°) |
| OKLab | oklab(35.51% 0.0211 -0.1962) |
| OKLCH | oklch(35.51% 0.197 276.1) |
| XYZ | xyz(7.6213, 3.6912, 33.1050) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.83
Indigo Blue
#3A18B1
ΔE00 2.95
Royal
#0C1793
ΔE00 3.01
Royal Blue (survey)
#0504AA
ΔE00 3.19
Ultramarine
#2000B1
ΔE00 3.22
Darkblue
#00008B
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C189F #8B9F18
analogous
#18479F #2C189F #6F189F
triadic
#2C189F #9F2C18 #189F2C
tetradic
#2C189F #9F1847 #8B9F18 #189F6F
square
#2C189F #9F1847 #8B9F18 #189F6F
split-complementary
#2C189F #9F6F18 #479F18
monochromatic
#0F0835 #1D106A #2C189F #3B20D4 #644DE4
Accessibility & contrast
On white
12.08
#2C189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2C189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C189F
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C189F | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c189f; /* rgb */ color: rgb(44, 24, 159); /* oklch */ color: oklch(35.5% 0.197 276.1);
Tailwind
colors: {
custom: {
50: '#795bbd',
500: '#2c189f',
950: '#000000',
},
}SCSS
$custom: #2c189f; $custom-light: #795bbd; $custom-dark: #000000;
JSON
{
"hex": "#2c189f",
"rgb": {
"r": 44,
"g": 24,
"b": 159
},
"hsl": {
"h": 248.889,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.35511,
"c": 0.19733,
"h": 276.1
},
"luminance": 0.03692
}Semantic roles & 50–950 ramp
primary
#2C189F
secondary
#B4C64D
accent
#F037D5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981