#2C279E#2C279E
#2C279E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.183 H 274.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C279E |
|---|---|
| RGB | rgb(44, 39, 158) |
| HSL | hsl(243, 60%, 39%) |
| HSV | hsv(243, 75%, 62%) |
| CMYK | cmyk(72.2%, 75.3%, 0%, 38%) |
| CIE-LAB | lab(25.12, 41.27, -63.15) |
| CIE-LCH | lch(25.12, 75.44, 303.17°) |
| OKLab | oklab(37.22% 0.0149 -0.1826) |
| OKLCH | oklch(37.22% 0.183 274.7) |
| XYZ | xyz(7.9337, 4.4544, 32.7828) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.19
Royal
#0C1793
ΔE00 4.28
Sapphire (survey)
#2138AB
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 5.31
Royal Blue (survey)
#0504AA
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C279E #999E27
analogous
#275D9E #2C279E #67279E
triadic
#2C279E #9E2C27 #279E2C
tetradic
#2C279E #9E275D #999E27 #279E67
square
#2C279E #9E275D #999E27 #279E67
split-complementary
#2C279E #9E6727 #5D9E27
monochromatic
#110F3C #1E1B6D #2C279E #3B35CD #6B66D9
Accessibility & contrast
On white
11.11
#2C279E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2C279E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C279E
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C279E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C279E | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c279e; /* rgb */ color: rgb(44, 39, 158); /* oklch */ color: oklch(37.2% 0.183 274.7);
Tailwind
colors: {
custom: {
50: '#7763bc',
500: '#2c279e',
950: '#000000',
},
}SCSS
$custom: #2c279e; $custom-light: #7763bc; $custom-dark: #000000;
JSON
{
"hex": "#2c279e",
"rgb": {
"r": 44,
"g": 39,
"b": 158
},
"hsl": {
"h": 242.521,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.3722,
"c": 0.18323,
"h": 274.7
},
"luminance": 0.04455
}Semantic roles & 50–950 ramp
primary
#2C279E
secondary
#BBBF62
accent
#E444DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81