#2A62B2#2A62B2
#2A62B2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.140 H 257.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A62B2 |
|---|---|
| RGB | rgb(42, 98, 178) |
| HSL | hsl(215, 62%, 43%) |
| HSV | hsv(215, 76%, 70%) |
| CMYK | cmyk(76.4%, 44.9%, 0%, 30.2%) |
| CIE-LAB | lab(41.91, 10.34, -47.81) |
| CIE-LCH | lch(41.91, 48.91, 282.20°) |
| OKLab | oklab(50.22% -0.0295 -0.137) |
| OKLCH | oklch(50.22% 0.14 257.9) |
| XYZ | xyz(13.3555, 12.4404, 43.8082) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.45
Mid Blue
#276AB3
ΔE00 3.22
French Blue
#436BAD
ΔE00 3.66
Denim (survey)
#3B638C
ΔE00 4.48
Medium Blue
#2C6FBB
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A62B2 #B27A2A
analogous
#2AA6B2 #2A62B2 #362AB2
triadic
#2A62B2 #B22A62 #62B22A
tetradic
#2A62B2 #B22AA6 #B27A2A #2AB236
square
#2A62B2 #B22AA6 #B27A2A #2AB236
split-complementary
#2A62B2 #B2362A #A6B22A
monochromatic
#132B4F #1E4780 #2A62B2 #4680D3 #77A2DF
Accessibility & contrast
On white
6.02
#2A62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2A62B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A62B2
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A62B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A62B2 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a62b2; /* rgb */ color: rgb(42, 98, 178); /* oklch */ color: oklch(50.2% 0.140 257.9);
Tailwind
colors: {
custom: {
50: '#778ec9',
500: '#2a62b2',
950: '#000000',
},
}SCSS
$custom: #2a62b2; $custom-light: #778ec9; $custom-dark: #000000;
JSON
{
"hex": "#2a62b2",
"rgb": {
"r": 42,
"g": 98,
"b": 178
},
"hsl": {
"h": 215.294,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.50222,
"c": 0.14013,
"h": 257.9
},
"luminance": 0.12442
}Semantic roles & 50–950 ramp
primary
#2A62B2
secondary
#C7A371
accent
#A243E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82