#2C2E96#2C2E96
#2C2E96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.165 H 274.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E96 |
|---|---|
| RGB | rgb(44, 46, 150) |
| HSL | hsl(239, 55%, 38%) |
| HSV | hsv(239, 71%, 59%) |
| CMYK | cmyk(70.7%, 69.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.84, 34.32, -57.08) |
| CIE-LCH | lch(25.84, 66.60, 301.02°) |
| OKLab | oklab(37.49% 0.012 -0.1649) |
| OKLCH | oklch(37.49% 0.165 274.2) |
| XYZ | xyz(7.5189, 4.6908, 29.3574) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Royal
#0C1793
ΔE00 5.67
Blueberry
#464196
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E96 #96942C
analogous
#2C6396 #2C2E96 #5F2C96
triadic
#2C2E96 #962C2E #2E962C
tetradic
#2C2E96 #962C63 #96942C #2C965F
square
#2C2E96 #962C63 #96942C #2C965F
split-complementary
#2C2E96 #965F2C #63962C
monochromatic
#101137 #1E1F67 #2C2E96 #3A3DC5 #696BD3
Accessibility & contrast
On white
10.83
#2C2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C2E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E96
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E96 | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2e96; /* rgb */ color: rgb(44, 46, 150); /* oklch */ color: oklch(37.5% 0.165 274.2);
Tailwind
colors: {
custom: {
50: '#7567b6',
500: '#2c2e96',
950: '#000000',
},
}SCSS
$custom: #2c2e96; $custom-light: #7567b6; $custom-dark: #000000;
JSON
{
"hex": "#2c2e96",
"rgb": {
"r": 44,
"g": 46,
"b": 150
},
"hsl": {
"h": 238.868,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.37489,
"c": 0.16536,
"h": 274.2
},
"luminance": 0.04691
}Semantic roles & 50–950 ramp
primary
#2C2E96
secondary
#BAB864
accent
#DB4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80