#2C62C1#2C62C1
#2C62C1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.160 H 260.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C62C1 |
|---|---|
| RGB | rgb(44, 98, 193) |
| HSL | hsl(218, 63%, 46%) |
| HSV | hsv(218, 77%, 76%) |
| CMYK | cmyk(77.2%, 49.2%, 0%, 24.3%) |
| CIE-LAB | lab(42.94, 16.31, -54.89) |
| CIE-LCH | lch(42.94, 57.26, 286.55°) |
| OKLab | oklab(51.35% -0.0257 -0.1578) |
| OKLCH | oklch(51.35% 0.16 260.8) |
| XYZ | xyz(15.0285, 13.1194, 52.1820) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.00
French Blue
#436BAD
ΔE00 3.87
Mid Blue
#276AB3
ΔE00 4.24
Medium Blue
#2C6FBB
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.35
Azul
#1D5DEC
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C62C1 #C18B2C
analogous
#2CADC1 #2C62C1 #412CC1
triadic
#2C62C1 #C12C62 #62C12C
tetradic
#2C62C1 #C12CAD #C18B2C #2CC141
square
#2C62C1 #C12CAD #C18B2C #2CC141
split-complementary
#2C62C1 #C1412C #ADC12C
monochromatic
#152F5D #21498F #2C62C1 #5383D8 #84A7E3
Accessibility & contrast
On white
5.79
#2C62C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2C62C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C62C1
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C62C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C62C1 | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6DC4
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2c62c1; /* rgb */ color: rgb(44, 98, 193); /* oklch */ color: oklch(51.3% 0.160 260.8);
Tailwind
colors: {
custom: {
50: '#7b8ed4',
500: '#2c62c1',
950: '#000000',
},
}SCSS
$custom: #2c62c1; $custom-light: #7b8ed4; $custom-dark: #000000;
JSON
{
"hex": "#2c62c1",
"rgb": {
"r": 44,
"g": 98,
"b": 193
},
"hsl": {
"h": 218.255,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.51348,
"c": 0.15987,
"h": 260.8
},
"luminance": 0.13121
}Semantic roles & 50–950 ramp
primary
#2C62C1
secondary
#CCAF7D
accent
#AA42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83