#2C3895#2C3895
#2C3895 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.152 H 271.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3895 |
|---|---|
| RGB | rgb(44, 56, 149) |
| HSL | hsl(233, 54%, 38%) |
| HSV | hsv(233, 70%, 58%) |
| CMYK | cmyk(70.5%, 62.4%, 0%, 41.6%) |
| CIE-LAB | lab(28.20, 27.46, -52.59) |
| CIE-LCH | lch(28.20, 59.32, 297.57°) |
| OKLab | oklab(39.19% 0.0047 -0.1517) |
| OKLCH | oklch(39.19% 0.152 271.8) |
| XYZ | xyz(7.8759, 5.5330, 29.0809) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.23
Blueberry
#464196
ΔE00 4.35
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt
#0047AB
ΔE00 6.70
Cobalt (survey)
#1E488F
ΔE00 7.02
Ocean Blue
#4F42B5
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3895 #95892C
analogous
#2C6C95 #2C3895 #542C95
triadic
#2C3895 #952C38 #38952C
tetradic
#2C3895 #952C6C #95892C #2C9554
square
#2C3895 #952C6C #95892C #2C9554
split-complementary
#2C3895 #95542C #6C952C
monochromatic
#101437 #1E2666 #2C3895 #3A4AC4 #6975D3
Accessibility & contrast
On white
9.97
#2C3895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2C3895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3895
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3895 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3895; /* rgb */ color: rgb(44, 56, 149); /* oklch */ color: oklch(39.2% 0.152 271.8);
Tailwind
colors: {
custom: {
50: '#746eb5',
500: '#2c3895',
950: '#000000',
},
}SCSS
$custom: #2c3895; $custom-light: #746eb5; $custom-dark: #000000;
JSON
{
"hex": "#2c3895",
"rgb": {
"r": 44,
"g": 56,
"b": 149
},
"hsl": {
"h": 233.143,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.39191,
"c": 0.15178,
"h": 271.8
},
"luminance": 0.05534
}Semantic roles & 50–950 ramp
primary
#2C3895
secondary
#B9AF64
accent
#CD4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80