#2C38AD#2C38AD
#2C38AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.184 H 271.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2C38AD |
|---|---|
| RGB | rgb(44, 56, 173) |
| HSL | hsl(234, 59%, 43%) |
| HSV | hsv(234, 75%, 68%) |
| CMYK | cmyk(74.6%, 67.6%, 0%, 32.2%) |
| CIE-LAB | lab(30.35, 36.20, -63.60) |
| CIE-LCH | lch(30.35, 73.18, 299.65°) |
| OKLab | oklab(41.43% 0.0032 -0.184) |
| OKLCH | oklch(41.43% 0.184 271) |
| XYZ | xyz(9.9931, 6.3799, 40.2318) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.13
Blue Blue
#2242C7
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 5.09
Blueberry
#464196
ΔE00 5.49
Blue With A Hint Of Purple
#533CC6
ΔE00 6.27
Cobalt
#0047AB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C38AD #ADA12C
analogous
#2C78AD #2C38AD #612CAD
triadic
#2C38AD #AD2C38 #38AD2C
tetradic
#2C38AD #AD2C78 #ADA12C #2CAD61
square
#2C38AD #AD2C78 #ADA12C #2CAD61
split-complementary
#2C38AD #AD612C #78AD2C
monochromatic
#13184B #20287C #2C38AD #4653D0 #7780DC
Accessibility & contrast
On white
9.23
#2C38AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C38AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C38AD
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C38AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C38AD | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c38ad; /* rgb */ color: rgb(44, 56, 173); /* oklch */ color: oklch(41.4% 0.184 271.0);
Tailwind
colors: {
custom: {
50: '#796fc7',
500: '#2c38ad',
950: '#000000',
},
}SCSS
$custom: #2c38ad; $custom-light: #796fc7; $custom-dark: #000000;
JSON
{
"hex": "#2c38ad",
"rgb": {
"r": 44,
"g": 56,
"b": 173
},
"hsl": {
"h": 234.419,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.41427,
"c": 0.18399,
"h": 271
},
"luminance": 0.06381
}Semantic roles & 50–950 ramp
primary
#2C38AD
secondary
#C4BC71
accent
#D445E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82