#2C38B1#2C38B1
#2C38B1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.189 H 270.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C38B1 |
|---|---|
| RGB | rgb(44, 56, 177) |
| HSL | hsl(235, 60%, 43%) |
| HSV | hsv(235, 75%, 69%) |
| CMYK | cmyk(75.1%, 68.4%, 0%, 30.6%) |
| CIE-LAB | lab(30.73, 37.62, -65.37) |
| CIE-LCH | lch(30.73, 75.42, 299.92°) |
| OKLab | oklab(41.82% 0.0028 -0.1891) |
| OKLCH | oklch(41.82% 0.189 270.9) |
| XYZ | xyz(10.3860, 6.5370, 42.3009) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.48
Blue Blue
#2242C7
ΔE00 4.02
Ocean Blue
#4F42B5
ΔE00 4.91
Blueberry
#464196
ΔE00 5.82
Blue With A Hint Of Purple
#533CC6
ΔE00 5.87
Blue (survey)
#0343DF
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C38B1 #B1A52C
analogous
#2C7BB1 #2C38B1 #622CB1
triadic
#2C38B1 #B12C38 #38B12C
tetradic
#2C38B1 #B12C7B #B1A52C #2CB162
square
#2C38B1 #B12C7B #B1A52C #2CB162
split-complementary
#2C38B1 #B1622C #7BB12C
monochromatic
#14194F #202880 #2C38B1 #4955D2 #7A83DE
Accessibility & contrast
On white
9.10
#2C38B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2C38B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C38B1
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C38B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C38B1 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c38b1; /* rgb */ color: rgb(44, 56, 177); /* oklch */ color: oklch(41.8% 0.189 270.9);
Tailwind
colors: {
custom: {
50: '#7a6fc9',
500: '#2c38b1',
950: '#000000',
},
}SCSS
$custom: #2c38b1; $custom-light: #7a6fc9; $custom-dark: #000000;
JSON
{
"hex": "#2c38b1",
"rgb": {
"r": 44,
"g": 56,
"b": 177
},
"hsl": {
"h": 234.586,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.41816,
"c": 0.18915,
"h": 270.9
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#2C38B1
secondary
#C6BE73
accent
#D544E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82