#2C266F#2C266F
#2C266F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.122 H 280.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2C266F |
|---|---|
| RGB | rgb(44, 38, 111) |
| HSL | hsl(245, 49%, 29%) |
| HSV | hsv(245, 66%, 44%) |
| CMYK | cmyk(60.4%, 65.8%, 0%, 56.5%) |
| CIE-LAB | lab(20.32, 25.67, -41.55) |
| CIE-LCH | lch(20.32, 48.84, 301.70°) |
| OKLab | oklab(32.38% 0.0229 -0.1194) |
| OKLCH | oklch(32.38% 0.122 280.9) |
| XYZ | xyz(4.6002, 3.0691, 15.3858) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.12
Royal
#0C1793
ΔE00 7.64
Darkslateblue
#483D8B
ΔE00 7.73
Dark Indigo
#1F0954
ΔE00 7.78
Darkblue (survey)
#030764
ΔE00 8.04
Dark Royal Blue
#02066F
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C266F #696F26
analogous
#26456F #2C266F #51266F
triadic
#2C266F #6F2C26 #266F2C
tetradic
#2C266F #6F2645 #696F26 #266F51
square
#2C266F #6F2645 #696F26 #266F51
split-complementary
#2C266F #6F5126 #456F26
monochromatic
#090817 #1A1641 #2C266F #3E369D #574DC2
Accessibility & contrast
On white
13.01
#2C266F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2C266F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C266F
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C266F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C266F | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#063846
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c266f; /* rgb */ color: rgb(44, 38, 111); /* oklch */ color: oklch(32.4% 0.122 280.9);
Tailwind
colors: {
custom: {
50: '#6d6099',
500: '#2c266f',
950: '#000000',
},
}SCSS
$custom: #2c266f; $custom-light: #6d6099; $custom-dark: #000000;
JSON
{
"hex": "#2c266f",
"rgb": {
"r": 44,
"g": 38,
"b": 111
},
"hsl": {
"h": 244.932,
"s": 48.993,
"l": 29.216
},
"oklch": {
"l": 0.32377,
"c": 0.12162,
"h": 280.9
},
"luminance": 0.03069
}Semantic roles & 50–950 ramp
primary
#2C266F
secondary
#9BA24F
accent
#D94FCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E