#2A62C7#2A62C7
#2A62C7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.168 H 261.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A62C7 |
|---|---|
| RGB | rgb(42, 98, 199) |
| HSL | hsl(219, 65%, 47%) |
| HSV | hsv(219, 79%, 78%) |
| CMYK | cmyk(78.9%, 50.8%, 0%, 22%) |
| CIE-LAB | lab(43.28, 18.38, -57.81) |
| CIE-LCH | lch(43.28, 60.66, 287.64°) |
| OKLab | oklab(51.72% -0.0262 -0.1664) |
| OKLCH | oklch(51.72% 0.168 261.1) |
| XYZ | xyz(15.6276, 13.3493, 55.7748) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.44
French Blue
#436BAD
ΔE00 4.24
Mid Blue
#276AB3
ΔE00 4.61
Azul
#1D5DEC
ΔE00 4.98
Royal Blue
#4169E1
ΔE00 5.09
Medium Blue
#2C6FBB
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A62C7 #C78F2A
analogous
#2AB0C7 #2A62C7 #412AC7
triadic
#2A62C7 #C72A62 #62C72A
tetradic
#2A62C7 #C72AB0 #C78F2A #2AC741
square
#2A62C7 #C72AB0 #C78F2A #2AC741
split-complementary
#2A62C7 #C7412A #B0C72A
monochromatic
#153062 #1F4994 #2A62C7 #5384DB #86A8E5
Accessibility & contrast
On white
5.72
#2A62C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2A62C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A62C7
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A62C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A62C7 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2a62c7; /* rgb */ color: rgb(42, 98, 199); /* oklch */ color: oklch(51.7% 0.168 261.1);
Tailwind
colors: {
custom: {
50: '#7c8ed9',
500: '#2a62c7',
950: '#000000',
},
}SCSS
$custom: #2a62c7; $custom-light: #7c8ed9; $custom-dark: #000000;
JSON
{
"hex": "#2a62c7",
"rgb": {
"r": 42,
"g": 98,
"b": 199
},
"hsl": {
"h": 218.599,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.51721,
"c": 0.16847,
"h": 261.1
},
"luminance": 0.13351
}Semantic roles & 50–950 ramp
primary
#2A62C7
secondary
#CFB27E
accent
#AC40E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83