#2C30A5#2C30A5
#2C30A5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.183 H 272.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30A5 |
|---|---|
| RGB | rgb(44, 48, 165) |
| HSL | hsl(238, 58%, 41%) |
| HSV | hsv(238, 73%, 65%) |
| CMYK | cmyk(73.3%, 70.9%, 0%, 35.3%) |
| CIE-LAB | lab(27.75, 38.34, -63.07) |
| CIE-LCH | lch(27.75, 73.81, 301.30°) |
| OKLab | oklab(39.31% 0.0088 -0.1824) |
| OKLCH | oklch(39.31% 0.183 272.8) |
| XYZ | xyz(8.8849, 5.3651, 36.1573) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.75
Indigo Blue
#3A18B1
ΔE00 5.55
Blueberry
#464196
ΔE00 6.20
Royal
#0C1793
ΔE00 6.47
Ocean Blue
#4F42B5
ΔE00 6.50
Blue Blue
#2242C7
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30A5 #A5A12C
analogous
#2C6CA5 #2C30A5 #642CA5
triadic
#2C30A5 #A52C30 #30A52C
tetradic
#2C30A5 #A52C6C #A5A12C #2CA564
square
#2C30A5 #A52C6C #A5A12C #2CA564
split-complementary
#2C30A5 #A5642C #6CA52C
monochromatic
#121444 #1F2275 #2C30A5 #4246CD #7275D9
Accessibility & contrast
On white
10.13
#2C30A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2C30A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30A5
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30A5 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c30a5; /* rgb */ color: rgb(44, 48, 165); /* oklch */ color: oklch(39.3% 0.183 272.8);
Tailwind
colors: {
custom: {
50: '#7869c1',
500: '#2c30a5',
950: '#000000',
},
}SCSS
$custom: #2c30a5; $custom-light: #7869c1; $custom-dark: #000000;
JSON
{
"hex": "#2c30a5",
"rgb": {
"r": 44,
"g": 48,
"b": 165
},
"hsl": {
"h": 238.017,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.39313,
"c": 0.18262,
"h": 272.8
},
"luminance": 0.05366
}Semantic roles & 50–950 ramp
primary
#2C30A5
secondary
#C1BE6C
accent
#DC47E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81