#2C30AB#2C30AB
#2C30AB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.190 H 272.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30AB |
|---|---|
| RGB | rgb(44, 48, 171) |
| HSL | hsl(238, 59%, 42%) |
| HSV | hsv(238, 74%, 67%) |
| CMYK | cmyk(74.3%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(28.35, 40.42, -65.69) |
| CIE-LCH | lch(28.35, 77.13, 301.60°) |
| OKLab | oklab(39.92% 0.0079 -0.1901) |
| OKLCH | oklch(39.92% 0.19 272.4) |
| XYZ | xyz(9.4439, 5.5887, 39.1012) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Indigo Blue
#3A18B1
ΔE00 5.24
Blue Blue
#2242C7
ΔE00 6.16
Ocean Blue
#4F42B5
ΔE00 6.19
Blueberry
#464196
ΔE00 6.54
True Blue
#010FCC
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30AB #ABA72C
analogous
#2C70AB #2C30AB #672CAB
triadic
#2C30AB #AB2C30 #30AB2C
tetradic
#2C30AB #AB2C70 #ABA72C #2CAB67
square
#2C30AB #AB2C70 #ABA72C #2CAB67
split-complementary
#2C30AB #AB672C #70AB2C
monochromatic
#13154A #1F227A #2C30AB #4549CF #7679DC
Accessibility & contrast
On white
9.92
#2C30AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2C30AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30AB
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30AB | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c30ab; /* rgb */ color: rgb(44, 48, 171); /* oklch */ color: oklch(39.9% 0.190 272.4);
Tailwind
colors: {
custom: {
50: '#7969c5',
500: '#2c30ab',
950: '#000000',
},
}SCSS
$custom: #2c30ab; $custom-light: #7969c5; $custom-dark: #000000;
JSON
{
"hex": "#2c30ab",
"rgb": {
"r": 44,
"g": 48,
"b": 171
},
"hsl": {
"h": 238.11,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.39924,
"c": 0.19024,
"h": 272.4
},
"luminance": 0.0559
}Semantic roles & 50–950 ramp
primary
#2C30AB
secondary
#C3C16F
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82