#2C30AF#2C30AF
#2C30AF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.195 H 272.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30AF |
|---|---|
| RGB | rgb(44, 48, 175) |
| HSL | hsl(238, 60%, 43%) |
| HSV | hsv(238, 75%, 69%) |
| CMYK | cmyk(74.9%, 72.6%, 0%, 31.4%) |
| CIE-LAB | lab(28.76, 41.79, -67.42) |
| CIE-LCH | lch(28.76, 79.32, 301.79°) |
| OKLab | oklab(40.34% 0.0073 -0.1951) |
| OKLCH | oklch(40.34% 0.195 272.1) |
| XYZ | xyz(9.8309, 5.7435, 41.1396) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.85
Indigo Blue
#3A18B1
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.03
True Blue
#010FCC
ΔE00 6.24
Blue With A Hint Of Purple
#533CC6
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30AF #AFAB2C
analogous
#2C71AF #2C30AF #692CAF
triadic
#2C30AF #AF2C30 #30AF2C
tetradic
#2C30AF #AF2C71 #AFAB2C #2CAF69
square
#2C30AF #AF2C71 #AFAB2C #2CAF69
split-complementary
#2C30AF #AF692C #71AF2C
monochromatic
#13154D #20237E #2C30AF #474CD1 #787BDD
Accessibility & contrast
On white
9.77
#2C30AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C30AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30AF
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30AF | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c30af; /* rgb */ color: rgb(44, 48, 175); /* oklch */ color: oklch(40.3% 0.195 272.1);
Tailwind
colors: {
custom: {
50: '#7a69c8',
500: '#2c30af',
950: '#000000',
},
}SCSS
$custom: #2c30af; $custom-light: #7a69c8; $custom-dark: #000000;
JSON
{
"hex": "#2c30af",
"rgb": {
"r": 44,
"g": 48,
"b": 175
},
"hsl": {
"h": 238.168,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.40336,
"c": 0.19526,
"h": 272.1
},
"luminance": 0.05745
}Semantic roles & 50–950 ramp
primary
#2C30AF
secondary
#C5C372
accent
#DE45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82