#2C30A7#2C30A7
#2C30A7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.185 H 272.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30A7 |
|---|---|
| RGB | rgb(44, 48, 167) |
| HSL | hsl(238, 58%, 41%) |
| HSV | hsv(238, 74%, 65%) |
| CMYK | cmyk(73.7%, 71.3%, 0%, 34.5%) |
| CIE-LAB | lab(27.95, 39.04, -63.95) |
| CIE-LCH | lch(27.95, 74.92, 301.40°) |
| OKLab | oklab(39.52% 0.0085 -0.185) |
| OKLCH | oklch(39.52% 0.185 272.6) |
| XYZ | xyz(9.0684, 5.4385, 37.1235) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.72
Indigo Blue
#3A18B1
ΔE00 5.43
Blueberry
#464196
ΔE00 6.31
Ocean Blue
#4F42B5
ΔE00 6.39
Blue Blue
#2242C7
ΔE00 6.48
Royal
#0C1793
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30A7 #A7A32C
analogous
#2C6EA7 #2C30A7 #662CA7
triadic
#2C30A7 #A72C30 #30A72C
tetradic
#2C30A7 #A72C6E #A7A32C #2CA766
square
#2C30A7 #A72C6E #A7A32C #2CA766
split-complementary
#2C30A7 #A7662C #6EA72C
monochromatic
#121446 #1F2277 #2C30A7 #4347CD #7377DA
Accessibility & contrast
On white
10.06
#2C30A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2C30A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30A7
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30A7 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c30a7; /* rgb */ color: rgb(44, 48, 167); /* oklch */ color: oklch(39.5% 0.185 272.6);
Tailwind
colors: {
custom: {
50: '#7869c2',
500: '#2c30a7',
950: '#000000',
},
}SCSS
$custom: #2c30a7; $custom-light: #7869c2; $custom-dark: #000000;
JSON
{
"hex": "#2c30a7",
"rgb": {
"r": 44,
"g": 48,
"b": 167
},
"hsl": {
"h": 238.049,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.39515,
"c": 0.18518,
"h": 272.6
},
"luminance": 0.05439
}Semantic roles & 50–950 ramp
primary
#2C30A7
secondary
#C2BF6D
accent
#DC46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82