#2C3D9D#2C3D9D
#2C3D9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.157 H 270.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3D9D |
|---|---|
| RGB | rgb(44, 61, 157) |
| HSL | hsl(231, 56%, 39%) |
| HSV | hsv(231, 72%, 62%) |
| CMYK | cmyk(72%, 61.1%, 0%, 38.4%) |
| CIE-LAB | lab(30.17, 27.10, -54.25) |
| CIE-LCH | lch(30.17, 60.64, 296.54°) |
| OKLab | oklab(40.86% 0.0006 -0.1565) |
| OKLCH | oklch(40.86% 0.157 270.2) |
| XYZ | xyz(8.7912, 6.3064, 32.6457) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.65
Blueberry
#464196
ΔE00 4.21
Cobalt
#0047AB
ΔE00 5.12
Darkslateblue
#483D8B
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 5.78
Cobalt (survey)
#1E488F
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3D9D #9D8C2C
analogous
#2C769D #2C3D9D #532C9D
triadic
#2C3D9D #9D2C3D #3D9D2C
tetradic
#2C3D9D #9D2C76 #9D8C2C #2C9D53
square
#2C3D9D #9D2C76 #9D8C2C #2C9D53
split-complementary
#2C3D9D #9D532C #769D2C
monochromatic
#11183D #1F2A6D #2C3D9D #3D52C9 #6D7DD6
Accessibility & contrast
On white
9.29
#2C3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2C3D9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3D9D
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3D9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3D9D | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c3d9d; /* rgb */ color: rgb(44, 61, 157); /* oklch */ color: oklch(40.9% 0.157 270.2);
Tailwind
colors: {
custom: {
50: '#7572bb',
500: '#2c3d9d',
950: '#000000',
},
}SCSS
$custom: #2c3d9d; $custom-light: #7572bb; $custom-dark: #000000;
JSON
{
"hex": "#2c3d9d",
"rgb": {
"r": 44,
"g": 61,
"b": 157
},
"hsl": {
"h": 230.973,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.4086,
"c": 0.15654,
"h": 270.2
},
"luminance": 0.06307
}Semantic roles & 50–950 ramp
primary
#2C3D9D
secondary
#BDB068
accent
#C948E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81