#2C3B95#2C3B95
#2C3B95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.148 H 270.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3B95 |
|---|---|
| RGB | rgb(44, 59, 149) |
| HSL | hsl(231, 54%, 38%) |
| HSV | hsv(231, 70%, 58%) |
| CMYK | cmyk(70.5%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(28.99, 25.45, -51.31) |
| CIE-LCH | lch(28.99, 57.28, 296.38°) |
| OKLab | oklab(39.77% 0.0022 -0.1479) |
| OKLCH | oklch(39.77% 0.148 270.9) |
| XYZ | xyz(8.0256, 5.8326, 29.1308) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 4.17
Darkslateblue
#483D8B
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.92
Cobalt (survey)
#1E488F
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3B95 #95862C
analogous
#2C6F95 #2C3B95 #522C95
triadic
#2C3B95 #952C3B #3B952C
tetradic
#2C3B95 #952C6F #95862C #2C9552
square
#2C3B95 #952C6F #95862C #2C9552
split-complementary
#2C3B95 #95522C #6F952C
monochromatic
#101637 #1E2866 #2C3B95 #3A4EC4 #6978D3
Accessibility & contrast
On white
9.69
#2C3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C3B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3B95
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3B95 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3b95; /* rgb */ color: rgb(44, 59, 149); /* oklch */ color: oklch(39.8% 0.148 270.9);
Tailwind
colors: {
custom: {
50: '#7370b5',
500: '#2c3b95',
950: '#000000',
},
}SCSS
$custom: #2c3b95; $custom-light: #7370b5; $custom-dark: #000000;
JSON
{
"hex": "#2c3b95",
"rgb": {
"r": 44,
"g": 59,
"b": 149
},
"hsl": {
"h": 231.429,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.39772,
"c": 0.14794,
"h": 270.9
},
"luminance": 0.05833
}Semantic roles & 50–950 ramp
primary
#2C3B95
secondary
#B9AD64
accent
#C94ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80