#2A62B4#2A62B4
#2A62B4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.143 H 258.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A62B4 |
|---|---|
| RGB | rgb(42, 98, 180) |
| HSL | hsl(216, 62%, 44%) |
| HSV | hsv(216, 77%, 71%) |
| CMYK | cmyk(76.7%, 45.6%, 0%, 29.4%) |
| CIE-LAB | lab(42.03, 11.11, -48.78) |
| CIE-LCH | lch(42.03, 50.03, 282.83°) |
| OKLab | oklab(50.36% -0.0291 -0.1399) |
| OKLCH | oklch(50.36% 0.143 258.2) |
| XYZ | xyz(13.5577, 12.5213, 44.8735) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.35
Mid Blue
#276AB3
ΔE00 3.30
French Blue
#436BAD
ΔE00 3.63
Denim (survey)
#3B638C
ΔE00 4.66
Medium Blue
#2C6FBB
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A62B4 #B47C2A
analogous
#2AA7B4 #2A62B4 #372AB4
triadic
#2A62B4 #B42A62 #62B42A
tetradic
#2A62B4 #B42AA7 #B47C2A #2AB437
square
#2A62B4 #B42AA7 #B47C2A #2AB437
split-complementary
#2A62B4 #B4372A #A7B42A
monochromatic
#132C51 #1E4782 #2A62B4 #4780D4 #79A3E0
Accessibility & contrast
On white
5.99
#2A62B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2A62B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A62B4
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A62B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A62B4 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a62b4; /* rgb */ color: rgb(42, 98, 180); /* oklch */ color: oklch(50.4% 0.143 258.2);
Tailwind
colors: {
custom: {
50: '#778ecb',
500: '#2a62b4',
950: '#000000',
},
}SCSS
$custom: #2a62b4; $custom-light: #778ecb; $custom-dark: #000000;
JSON
{
"hex": "#2a62b4",
"rgb": {
"r": 42,
"g": 98,
"b": 180
},
"hsl": {
"h": 215.652,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.50359,
"c": 0.14286,
"h": 258.2
},
"luminance": 0.12523
}Semantic roles & 50–950 ramp
primary
#2A62B4
secondary
#C8A572
accent
#A343E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82