#2C30B2#2C30B2
#2C30B2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.199 H 272.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30B2 |
|---|---|
| RGB | rgb(44, 48, 178) |
| HSL | hsl(238, 60%, 44%) |
| HSV | hsv(238, 75%, 70%) |
| CMYK | cmyk(75.3%, 73%, 0%, 30.2%) |
| CIE-LAB | lab(29.06, 42.81, -68.71) |
| CIE-LCH | lch(29.06, 80.95, 301.93°) |
| OKLab | oklab(40.65% 0.0069 -0.1989) |
| OKLCH | oklch(40.65% 0.199 272) |
| XYZ | xyz(10.1288, 5.8627, 42.7086) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Indigo Blue
#3A18B1
ΔE00 5.06
Blue Blue
#2242C7
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 5.94
True Blue
#010FCC
ΔE00 6.04
Blue With A Hint Of Purple
#533CC6
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30B2 #B2AE2C
analogous
#2C73B2 #2C30B2 #6B2CB2
triadic
#2C30B2 #B22C30 #30B22C
tetradic
#2C30B2 #B22C73 #B2AE2C #2CB26B
square
#2C30B2 #B22C73 #B2AE2C #2CB26B
split-complementary
#2C30B2 #B26B2C #73B22C
monochromatic
#141650 #202381 #2C30B2 #494DD2 #7A7DDE
Accessibility & contrast
On white
9.66
#2C30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C30B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30B2
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30B2 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c30b2; /* rgb */ color: rgb(44, 48, 178); /* oklch */ color: oklch(40.6% 0.199 272.0);
Tailwind
colors: {
custom: {
50: '#7b6aca',
500: '#2c30b2',
950: '#000000',
},
}SCSS
$custom: #2c30b2; $custom-light: #7b6aca; $custom-dark: #000000;
JSON
{
"hex": "#2c30b2",
"rgb": {
"r": 44,
"g": 48,
"b": 178
},
"hsl": {
"h": 238.209,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.40647,
"c": 0.19898,
"h": 272
},
"luminance": 0.05864
}Semantic roles & 50–950 ramp
primary
#2C30B2
secondary
#C6C473
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82