#2C38B5#2C38B5
#2C38B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.194 H 270.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C38B5 |
|---|---|
| RGB | rgb(44, 56, 181) |
| HSL | hsl(235, 61%, 44%) |
| HSV | hsv(235, 76%, 71%) |
| CMYK | cmyk(75.7%, 69.1%, 0%, 29%) |
| CIE-LAB | lab(31.11, 39.04, -67.12) |
| CIE-LCH | lch(31.11, 77.65, 300.18°) |
| OKLab | oklab(42.21% 0.0024 -0.1942) |
| OKLCH | oklch(42.21% 0.194 270.7) |
| XYZ | xyz(10.7905, 6.6989, 44.4314) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.92
Blue Blue
#2242C7
ΔE00 3.70
Ocean Blue
#4F42B5
ΔE00 4.78
Blue With A Hint Of Purple
#533CC6
ΔE00 5.51
Blue (survey)
#0343DF
ΔE00 6.08
Blurple
#5539CC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C38B5 #B5A92C
analogous
#2C7CB5 #2C38B5 #652CB5
triadic
#2C38B5 #B52C38 #38B52C
tetradic
#2C38B5 #B52C7C #B5A92C #2CB565
square
#2C38B5 #B52C7C #B5A92C #2CB565
split-complementary
#2C38B5 #B5652C #7CB52C
monochromatic
#141A53 #202984 #2C38B5 #4B57D3 #7C85DF
Accessibility & contrast
On white
8.97
#2C38B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2C38B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C38B5
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C38B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C38B5 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c38b5; /* rgb */ color: rgb(44, 56, 181); /* oklch */ color: oklch(42.2% 0.194 270.7);
Tailwind
colors: {
custom: {
50: '#7b6fcc',
500: '#2c38b5',
950: '#000000',
},
}SCSS
$custom: #2c38b5; $custom-light: #7b6fcc; $custom-dark: #000000;
JSON
{
"hex": "#2c38b5",
"rgb": {
"r": 44,
"g": 56,
"b": 181
},
"hsl": {
"h": 234.745,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.42209,
"c": 0.19426,
"h": 270.7
},
"luminance": 0.067
}Semantic roles & 50–950 ramp
primary
#2C38B5
secondary
#C8C075
accent
#D644E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82