#2C3995#2C3995
#2C3995 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.151 H 271.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3995 |
|---|---|
| RGB | rgb(44, 57, 149) |
| HSL | hsl(233, 54%, 38%) |
| HSV | hsv(233, 70%, 58%) |
| CMYK | cmyk(70.5%, 61.7%, 0%, 41.6%) |
| CIE-LAB | lab(28.46, 26.79, -52.17) |
| CIE-LCH | lch(28.46, 58.64, 297.18°) |
| OKLab | oklab(39.38% 0.0039 -0.1505) |
| OKLCH | oklch(39.38% 0.151 271.5) |
| XYZ | xyz(7.9248, 5.6309, 29.0972) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Blueberry
#464196
ΔE00 4.26
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt
#0047AB
ΔE00 6.43
Cobalt (survey)
#1E488F
ΔE00 6.71
Ocean Blue
#4F42B5
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3995 #95882C
analogous
#2C6E95 #2C3995 #532C95
triadic
#2C3995 #952C39 #39952C
tetradic
#2C3995 #952C6E #95882C #2C9553
square
#2C3995 #952C6E #95882C #2C9553
split-complementary
#2C3995 #95532C #6E952C
monochromatic
#101537 #1E2766 #2C3995 #3A4BC4 #6976D3
Accessibility & contrast
On white
9.88
#2C3995 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2C3995 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3995
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3995 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3995 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3995; /* rgb */ color: rgb(44, 57, 149); /* oklch */ color: oklch(39.4% 0.151 271.5);
Tailwind
colors: {
custom: {
50: '#736fb5',
500: '#2c3995',
950: '#000000',
},
}SCSS
$custom: #2c3995; $custom-light: #736fb5; $custom-dark: #000000;
JSON
{
"hex": "#2c3995",
"rgb": {
"r": 44,
"g": 57,
"b": 149
},
"hsl": {
"h": 232.571,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.39383,
"c": 0.15051,
"h": 271.5
},
"luminance": 0.05632
}Semantic roles & 50–950 ramp
primary
#2C3995
secondary
#B9AF64
accent
#CB4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80