#2C30A6#2C30A6
#2C30A6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.184 H 272.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30A6 |
|---|---|
| RGB | rgb(44, 48, 166) |
| HSL | hsl(238, 58%, 41%) |
| HSV | hsv(238, 73%, 65%) |
| CMYK | cmyk(73.5%, 71.1%, 0%, 34.9%) |
| CIE-LAB | lab(27.85, 38.69, -63.51) |
| CIE-LCH | lch(27.85, 74.36, 301.35°) |
| OKLab | oklab(39.41% 0.0086 -0.1837) |
| OKLCH | oklch(39.41% 0.184 272.7) |
| XYZ | xyz(8.9763, 5.4016, 36.6386) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.73
Indigo Blue
#3A18B1
ΔE00 5.49
Blueberry
#464196
ΔE00 6.25
Ocean Blue
#4F42B5
ΔE00 6.45
Royal
#0C1793
ΔE00 6.52
Blue Blue
#2242C7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30A6 #A6A22C
analogous
#2C6DA6 #2C30A6 #652CA6
triadic
#2C30A6 #A62C30 #30A62C
tetradic
#2C30A6 #A62C6D #A6A22C #2CA665
square
#2C30A6 #A62C6D #A6A22C #2CA665
split-complementary
#2C30A6 #A6652C #6DA62C
monochromatic
#121445 #1F2276 #2C30A6 #4247CD #7376DA
Accessibility & contrast
On white
10.09
#2C30A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2C30A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30A6
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30A6 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c30a6; /* rgb */ color: rgb(44, 48, 166); /* oklch */ color: oklch(39.4% 0.184 272.7);
Tailwind
colors: {
custom: {
50: '#7869c2',
500: '#2c30a6',
950: '#000000',
},
}SCSS
$custom: #2c30a6; $custom-light: #7869c2; $custom-dark: #000000;
JSON
{
"hex": "#2c30a6",
"rgb": {
"r": 44,
"g": 48,
"b": 166
},
"hsl": {
"h": 238.033,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.39414,
"c": 0.1839,
"h": 272.7
},
"luminance": 0.05403
}Semantic roles & 50–950 ramp
primary
#2C30A6
secondary
#C1BE6D
accent
#DC46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81