#2C30B7#2C30B7
#2C30B7 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.205 H 271.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2C30B7 |
|---|---|
| RGB | rgb(44, 48, 183) |
| HSL | hsl(238, 61%, 45%) |
| HSV | hsv(238, 76%, 72%) |
| CMYK | cmyk(76%, 73.8%, 0%, 28.2%) |
| CIE-LAB | lab(29.58, 44.50, -70.83) |
| CIE-LCH | lch(29.58, 83.65, 302.14°) |
| OKLab | oklab(41.17% 0.0061 -0.205) |
| OKLCH | oklch(41.17% 0.205 271.7) |
| XYZ | xyz(10.6400, 6.0671, 45.4009) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Indigo Blue
#3A18B1
ΔE00 5.06
Blue Blue
#2242C7
ΔE00 5.39
True Blue
#010FCC
ΔE00 5.75
Blue With A Hint Of Purple
#533CC6
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C30B7 #B7B32C
analogous
#2C76B7 #2C30B7 #6D2CB7
triadic
#2C30B7 #B72C30 #30B72C
tetradic
#2C30B7 #B72C76 #B7B32C #2CB76D
square
#2C30B7 #B72C76 #B7B32C #2CB76D
split-complementary
#2C30B7 #B76D2C #76B72C
monochromatic
#141654 #202386 #2C30B7 #4C50D4 #7E80E0
Accessibility & contrast
On white
9.49
#2C30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2C30B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C30B7
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C30B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C30B7 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c30b7; /* rgb */ color: rgb(44, 48, 183); /* oklch */ color: oklch(41.2% 0.205 271.7);
Tailwind
colors: {
custom: {
50: '#7c6ace',
500: '#2c30b7',
950: '#000000',
},
}SCSS
$custom: #2c30b7; $custom-light: #7c6ace; $custom-dark: #000000;
JSON
{
"hex": "#2c30b7",
"rgb": {
"r": 44,
"g": 48,
"b": 183
},
"hsl": {
"h": 238.273,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.41171,
"c": 0.20512,
"h": 271.7
},
"luminance": 0.06068
}Semantic roles & 50–950 ramp
primary
#2C30B7
secondary
#C8C676
accent
#E043E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82