#2C30AD#2C30AD
#2C30AD is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.193 H 272.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30AD |
|---|---|
| RGB | rgb(44, 48, 173) |
| HSL | hsl(238, 59%, 43%) |
| HSV | hsv(238, 75%, 68%) |
| CMYK | cmyk(74.6%, 72.3%, 0%, 32.2%) |
| CIE-LAB | lab(28.55, 41.11, -66.56) |
| CIE-LCH | lch(28.55, 78.23, 301.70°) |
| OKLab | oklab(40.13% 0.0076 -0.1926) |
| OKLCH | oklch(40.13% 0.193 272.3) |
| XYZ | xyz(9.6359, 5.6655, 40.1128) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.78
Indigo Blue
#3A18B1
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.11
True Blue
#010FCC
ΔE00 6.39
Blue With A Hint Of Purple
#533CC6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30AD #ADA92C
analogous
#2C70AD #2C30AD #692CAD
triadic
#2C30AD #AD2C30 #30AD2C
tetradic
#2C30AD #AD2C70 #ADA92C #2CAD69
square
#2C30AD #AD2C70 #ADA92C #2CAD69
split-complementary
#2C30AD #AD692C #70AD2C
monochromatic
#13154B #20227C #2C30AD #464AD0 #777ADC
Accessibility & contrast
On white
9.84
#2C30AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2C30AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30AD
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30AD | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c30ad; /* rgb */ color: rgb(44, 48, 173); /* oklch */ color: oklch(40.1% 0.193 272.3);
Tailwind
colors: {
custom: {
50: '#7a69c7',
500: '#2c30ad',
950: '#000000',
},
}SCSS
$custom: #2c30ad; $custom-light: #7a69c7; $custom-dark: #000000;
JSON
{
"hex": "#2c30ad",
"rgb": {
"r": 44,
"g": 48,
"b": 173
},
"hsl": {
"h": 238.14,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.40129,
"c": 0.19275,
"h": 272.3
},
"luminance": 0.05667
}Semantic roles & 50–950 ramp
primary
#2C30AD
secondary
#C4C271
accent
#DE45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82