#2C38AA#2C38AA
#2C38AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.180 H 271.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C38AA |
|---|---|
| RGB | rgb(44, 56, 170) |
| HSL | hsl(234, 59%, 42%) |
| HSV | hsv(234, 74%, 67%) |
| CMYK | cmyk(74.1%, 67.1%, 0%, 33.3%) |
| CIE-LAB | lab(30.07, 35.12, -62.26) |
| CIE-LCH | lch(30.07, 71.48, 299.43°) |
| OKLab | oklab(41.14% 0.0035 -0.18) |
| OKLCH | oklch(41.14% 0.18 271.1) |
| XYZ | xyz(9.7061, 6.2651, 38.7202) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.01
Blue Blue
#2242C7
ΔE00 4.70
Ocean Blue
#4F42B5
ΔE00 5.26
Blueberry
#464196
ΔE00 5.26
Cobalt
#0047AB
ΔE00 6.54
Blue With A Hint Of Purple
#533CC6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C38AA #AA9E2C
analogous
#2C77AA #2C38AA #5F2CAA
triadic
#2C38AA #AA2C38 #38AA2C
tetradic
#2C38AA #AA2C77 #AA9E2C #2CAA5F
square
#2C38AA #AA2C77 #AA9E2C #2CAA5F
split-complementary
#2C38AA #AA5F2C #77AA2C
monochromatic
#131849 #1F2879 #2C38AA #4452CF #757FDB
Accessibility & contrast
On white
9.32
#2C38AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2C38AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C38AA
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C38AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C38AA | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c38aa; /* rgb */ color: rgb(44, 56, 170); /* oklch */ color: oklch(41.1% 0.180 271.1);
Tailwind
colors: {
custom: {
50: '#786fc4',
500: '#2c38aa',
950: '#000000',
},
}SCSS
$custom: #2c38aa; $custom-light: #786fc4; $custom-dark: #000000;
JSON
{
"hex": "#2c38aa",
"rgb": {
"r": 44,
"g": 56,
"b": 170
},
"hsl": {
"h": 234.286,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.41138,
"c": 0.18008,
"h": 271.1
},
"luminance": 0.06266
}Semantic roles & 50–950 ramp
primary
#2C38AA
secondary
#C3BB6F
accent
#D346E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82