#2C209F#2C209F
#2C209F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.191 H 275.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2C209F |
|---|---|
| RGB | rgb(44, 32, 159) |
| HSL | hsl(246, 66%, 37%) |
| HSV | hsv(246, 80%, 62%) |
| CMYK | cmyk(72.3%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(23.90, 45.38, -65.77) |
| CIE-LCH | lch(23.90, 79.91, 304.61°) |
| OKLab | oklab(36.4% 0.018 -0.1902) |
| OKLCH | oklch(36.4% 0.191 275.4) |
| XYZ | xyz(7.8112, 4.0709, 33.1683) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.20
Royal
#0C1793
ΔE00 3.38
Cobalt Blue
#030AA7
ΔE00 3.92
Royal Blue (survey)
#0504AA
ΔE00 4.36
Ultramarine
#2000B1
ΔE00 4.40
True Blue
#010FCC
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C209F #939F20
analogous
#20549F #2C209F #6B209F
triadic
#2C209F #9F2C20 #209F2C
tetradic
#2C209F #9F2054 #939F20 #209F6B
square
#2C209F #9F2054 #939F20 #209F6B
split-complementary
#2C209F #9F6B20 #549F20
monochromatic
#100B39 #1E166C #2C209F #3A2AD2 #685BDE
Accessibility & contrast
On white
11.57
#2C209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2C209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C209F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C209F | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c209f; /* rgb */ color: rgb(44, 32, 159); /* oklch */ color: oklch(36.4% 0.191 275.4);
Tailwind
colors: {
custom: {
50: '#785fbd',
500: '#2c209f',
950: '#000000',
},
}SCSS
$custom: #2c209f; $custom-light: #785fbd; $custom-dark: #000000;
JSON
{
"hex": "#2c209f",
"rgb": {
"r": 44,
"g": 32,
"b": 159
},
"hsl": {
"h": 245.669,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.36398,
"c": 0.19102,
"h": 275.4
},
"luminance": 0.04072
}Semantic roles & 50–950 ramp
primary
#2C209F
secondary
#B8C259
accent
#E93ED9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0512
muted
#7C7981