#2C267E#2C267E
#2C267E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.143 H 278.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C267E |
|---|---|
| RGB | rgb(44, 38, 126) |
| HSL | hsl(244, 54%, 32%) |
| HSV | hsv(244, 70%, 49%) |
| CMYK | cmyk(65.1%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(21.68, 30.94, -48.92) |
| CIE-LCH | lch(21.68, 57.88, 302.31°) |
| OKLab | oklab(33.79% 0.0212 -0.1411) |
| OKLCH | oklch(33.79% 0.143 278.6) |
| XYZ | xyz(5.4965, 3.4276, 20.1066) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.99
Royal
#0C1793
ΔE00 5.38
Indigo (survey)
#380282
ΔE00 7.17
Darkslateblue
#483D8B
ΔE00 7.18
Dark Royal Blue
#02066F
ΔE00 7.66
Darkblue
#00008B
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C267E #787E26
analogous
#264C7E #2C267E #58267E
triadic
#2C267E #7E2C26 #267E2C
tetradic
#2C267E #7E264C #787E26 #267E58
square
#2C267E #7E264C #787E26 #267E58
split-complementary
#2C267E #7E5826 #4C7E26
monochromatic
#0B0A20 #1C184F #2C267E #3C34AD #5B53CB
Accessibility & contrast
On white
12.46
#2C267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C267E
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C267E | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c267e; /* rgb */ color: rgb(44, 38, 126); /* oklch */ color: oklch(33.8% 0.143 278.6);
Tailwind
colors: {
custom: {
50: '#7061a4',
500: '#2c267e',
950: '#000000',
},
}SCSS
$custom: #2c267e; $custom-light: #7061a4; $custom-dark: #000000;
JSON
{
"hex": "#2c267e",
"rgb": {
"r": 44,
"g": 38,
"b": 126
},
"hsl": {
"h": 244.091,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.33788,
"c": 0.14265,
"h": 278.6
},
"luminance": 0.03428
}Semantic roles & 50–950 ramp
primary
#2C267E
secondary
#A9B050
accent
#DD4BD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F