#2C267F#2C267F
#2C267F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.144 H 278.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C267F |
|---|---|
| RGB | rgb(44, 38, 127) |
| HSL | hsl(244, 54%, 32%) |
| HSV | hsv(244, 70%, 50%) |
| CMYK | cmyk(65.4%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(21.78, 31.28, -49.40) |
| CIE-LCH | lch(21.78, 58.47, 302.34°) |
| OKLab | oklab(33.89% 0.0211 -0.1425) |
| OKLCH | oklch(33.89% 0.144 278.4) |
| XYZ | xyz(5.5614, 3.4536, 20.4481) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.05
Royal
#0C1793
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.17
Dark Royal Blue
#02066F
ΔE00 7.67
Darkblue
#00008B
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C267F #797F26
analogous
#264D7F #2C267F #59267F
triadic
#2C267F #7F2C26 #267F2C
tetradic
#2C267F #7F264D #797F26 #267F59
square
#2C267F #7F264D #797F26 #267F59
split-complementary
#2C267F #7F5926 #4D7F26
monochromatic
#0B0A21 #1C1850 #2C267F #3C34AE #5C54CC
Accessibility & contrast
On white
12.42
#2C267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C267F
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C267F | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c267f; /* rgb */ color: rgb(44, 38, 127); /* oklch */ color: oklch(33.9% 0.144 278.4);
Tailwind
colors: {
custom: {
50: '#7061a5',
500: '#2c267f',
950: '#000000',
},
}SCSS
$custom: #2c267f; $custom-light: #7061a5; $custom-dark: #000000;
JSON
{
"hex": "#2c267f",
"rgb": {
"r": 44,
"g": 38,
"b": 127
},
"hsl": {
"h": 244.045,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.33886,
"c": 0.14401,
"h": 278.4
},
"luminance": 0.03454
}Semantic roles & 50–950 ramp
primary
#2C267F
secondary
#AAB051
accent
#DD4AD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F