#2C30A2#2C30A2
#2C30A2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.179 H 272.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30A2 |
|---|---|
| RGB | rgb(44, 48, 162) |
| HSL | hsl(238, 57%, 40%) |
| HSV | hsv(238, 73%, 64%) |
| CMYK | cmyk(72.8%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(27.46, 37.29, -61.74) |
| CIE-LCH | lch(27.46, 72.13, 301.14°) |
| OKLab | oklab(39.01% 0.0092 -0.1785) |
| OKLCH | oklch(39.01% 0.179 272.9) |
| XYZ | xyz(8.6151, 5.2572, 34.7361) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.85
Indigo Blue
#3A18B1
ΔE00 5.75
Blueberry
#464196
ΔE00 6.05
Royal
#0C1793
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30A2 #A29E2C
analogous
#2C6BA2 #2C30A2 #632CA2
triadic
#2C30A2 #A22C30 #30A22C
tetradic
#2C30A2 #A22C6B #A29E2C #2CA263
square
#2C30A2 #A22C6B #A29E2C #2CA263
split-complementary
#2C30A2 #A2632C #6BA22C
monochromatic
#121342 #1F2272 #2C30A2 #4045CB #7074D8
Accessibility & contrast
On white
10.24
#2C30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2C30A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30A2
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30A2 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c30a2; /* rgb */ color: rgb(44, 48, 162); /* oklch */ color: oklch(39.0% 0.179 272.9);
Tailwind
colors: {
custom: {
50: '#7769bf',
500: '#2c30a2',
950: '#000000',
},
}SCSS
$custom: #2c30a2; $custom-light: #7769bf; $custom-dark: #000000;
JSON
{
"hex": "#2c30a2",
"rgb": {
"r": 44,
"g": 48,
"b": 162
},
"hsl": {
"h": 237.966,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.39011,
"c": 0.17877,
"h": 272.9
},
"luminance": 0.05258
}Semantic roles & 50–950 ramp
primary
#2C30A2
secondary
#BFBD6A
accent
#DB47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81