#2C38AE#2C38AE
#2C38AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.185 H 271.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2C38AE |
|---|---|
| RGB | rgb(44, 56, 174) |
| HSL | hsl(234, 60%, 43%) |
| HSV | hsv(234, 75%, 68%) |
| CMYK | cmyk(74.7%, 67.8%, 0%, 31.8%) |
| CIE-LAB | lab(30.45, 36.56, -64.04) |
| CIE-LCH | lch(30.45, 73.74, 299.72°) |
| OKLab | oklab(41.52% 0.0031 -0.1853) |
| OKLCH | oklch(41.52% 0.185 271) |
| XYZ | xyz(10.0903, 6.4187, 40.7434) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.20
Blue Blue
#2242C7
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 5.04
Blueberry
#464196
ΔE00 5.57
Blue With A Hint Of Purple
#533CC6
ΔE00 6.17
Cobalt
#0047AB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C38AE #AEA22C
analogous
#2C79AE #2C38AE #612CAE
triadic
#2C38AE #AE2C38 #38AE2C
tetradic
#2C38AE #AE2C79 #AEA22C #2CAE61
square
#2C38AE #AE2C79 #AEA22C #2CAE61
split-complementary
#2C38AE #AE612C #79AE2C
monochromatic
#13194C #20287D #2C38AE #4753D0 #7881DD
Accessibility & contrast
On white
9.19
#2C38AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C38AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C38AE
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C38AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C38AE | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c38ae; /* rgb */ color: rgb(44, 56, 174); /* oklch */ color: oklch(41.5% 0.185 271.0);
Tailwind
colors: {
custom: {
50: '#796fc7',
500: '#2c38ae',
950: '#000000',
},
}SCSS
$custom: #2c38ae; $custom-light: #796fc7; $custom-dark: #000000;
JSON
{
"hex": "#2c38ae",
"rgb": {
"r": 44,
"g": 56,
"b": 174
},
"hsl": {
"h": 234.462,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.41524,
"c": 0.18529,
"h": 271
},
"luminance": 0.0642
}Semantic roles & 50–950 ramp
primary
#2C38AE
secondary
#C5BD71
accent
#D445E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82