#2C38B9#2C38B9
#2C38B9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.199 H 270.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C38B9 |
|---|---|
| RGB | rgb(44, 56, 185) |
| HSL | hsl(235, 62%, 45%) |
| HSV | hsv(235, 76%, 73%) |
| CMYK | cmyk(76.2%, 69.7%, 0%, 27.5%) |
| CIE-LAB | lab(31.50, 40.45, -68.85) |
| CIE-LCH | lch(31.50, 79.85, 300.43°) |
| OKLab | oklab(42.61% 0.002 -0.1993) |
| OKLCH | oklch(42.61% 0.199 270.6) |
| XYZ | xyz(11.2069, 6.8654, 46.6241) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Blue Blue
#2242C7
ΔE00 3.42
Ocean Blue
#4F42B5
ΔE00 4.70
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Blue (survey)
#0343DF
ΔE00 5.66
Blurple
#5539CC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C38B9 #B9AD2C
analogous
#2C7EB9 #2C38B9 #672CB9
triadic
#2C38B9 #B92C38 #38B92C
tetradic
#2C38B9 #B92C7E #B9AD2C #2CB967
square
#2C38B9 #B92C7E #B9AD2C #2CB967
split-complementary
#2C38B9 #B9672C #7EB92C
monochromatic
#141A56 #202988 #2C38B9 #4D59D5 #7F87E1
Accessibility & contrast
On white
8.85
#2C38B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2C38B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C38B9
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C38B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C38B9 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c38b9; /* rgb */ color: rgb(44, 56, 185); /* oklch */ color: oklch(42.6% 0.199 270.6);
Tailwind
colors: {
custom: {
50: '#7c6fcf',
500: '#2c38b9',
950: '#000000',
},
}SCSS
$custom: #2c38b9; $custom-light: #7c6fcf; $custom-dark: #000000;
JSON
{
"hex": "#2c38b9",
"rgb": {
"r": 44,
"g": 56,
"b": 185
},
"hsl": {
"h": 234.894,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.42606,
"c": 0.19931,
"h": 270.6
},
"luminance": 0.06867
}Semantic roles & 50–950 ramp
primary
#2C38B9
secondary
#C9C278
accent
#D743E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82