#2C268F#2C268F
#2C268F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.165 H 276.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C268F |
|---|---|
| RGB | rgb(44, 38, 143) |
| HSL | hsl(243, 58%, 35%) |
| HSV | hsv(243, 73%, 56%) |
| CMYK | cmyk(69.2%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(23.35, 36.80, -56.84) |
| CIE-LCH | lch(23.35, 67.71, 302.92°) |
| OKLab | oklab(35.5% 0.0184 -0.1642) |
| OKLCH | oklch(35.5% 0.165 276.4) |
| XYZ | xyz(6.6881, 3.9043, 26.3824) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.93
Midnight Blue
#191970
ΔE00 5.63
Indigo Blue
#3A18B1
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 6.29
Royal Blue (survey)
#0504AA
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C268F #898F26
analogous
#26548F #2C268F #61268F
triadic
#2C268F #8F2C26 #268F2C
tetradic
#2C268F #8F2654 #898F26 #268F61
square
#2C268F #8F2654 #898F26 #268F61
split-complementary
#2C268F #8F6126 #548F26
monochromatic
#0E0C2E #1D195F #2C268F #3B33BF #635CD4
Accessibility & contrast
On white
11.79
#2C268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2C268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C268F
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C268F | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c268f; /* rgb */ color: rgb(44, 38, 143); /* oklch */ color: oklch(35.5% 0.165 276.4);
Tailwind
colors: {
custom: {
50: '#7462b1',
500: '#2c268f',
950: '#000000',
},
}SCSS
$custom: #2c268f; $custom-light: #7462b1; $custom-dark: #000000;
JSON
{
"hex": "#2c268f",
"rgb": {
"r": 44,
"g": 38,
"b": 143
},
"hsl": {
"h": 243.429,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.35496,
"c": 0.16523,
"h": 276.4
},
"luminance": 0.03905
}Semantic roles & 50–950 ramp
primary
#2C268F
secondary
#B3B958
accent
#E147D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980