#2A62B5#2A62B5
#2A62B5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.144 H 258.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A62B5 |
|---|---|
| RGB | rgb(42, 98, 181) |
| HSL | hsl(216, 62%, 44%) |
| HSV | hsv(216, 77%, 71%) |
| CMYK | cmyk(76.8%, 45.9%, 0%, 29%) |
| CIE-LAB | lab(42.10, 11.49, -49.26) |
| CIE-LCH | lch(42.10, 50.58, 283.13°) |
| OKLab | oklab(50.43% -0.0289 -0.1413) |
| OKLCH | oklch(50.43% 0.144 258.4) |
| XYZ | xyz(13.6600, 12.5622, 45.4119) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.31
Mid Blue
#276AB3
ΔE00 3.34
French Blue
#436BAD
ΔE00 3.63
Denim (survey)
#3B638C
ΔE00 4.75
Medium Blue
#2C6FBB
ΔE00 4.83
Denim Blue
#3B5B92
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A62B5 #B57D2A
analogous
#2AA7B5 #2A62B5 #372AB5
triadic
#2A62B5 #B52A62 #62B52A
tetradic
#2A62B5 #B52AA7 #B57D2A #2AB537
square
#2A62B5 #B52AA7 #B57D2A #2AB537
split-complementary
#2A62B5 #B5372A #A7B52A
monochromatic
#132C52 #1E4783 #2A62B5 #4880D4 #79A3E0
Accessibility & contrast
On white
5.98
#2A62B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2A62B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A62B5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A62B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A62B5 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#165DB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a62b5; /* rgb */ color: rgb(42, 98, 181); /* oklch */ color: oklch(50.4% 0.144 258.4);
Tailwind
colors: {
custom: {
50: '#788ecc',
500: '#2a62b5',
950: '#000000',
},
}SCSS
$custom: #2a62b5; $custom-light: #788ecc; $custom-dark: #000000;
JSON
{
"hex": "#2a62b5",
"rgb": {
"r": 42,
"g": 98,
"b": 181
},
"hsl": {
"h": 215.827,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.50428,
"c": 0.14421,
"h": 258.4
},
"luminance": 0.12564
}Semantic roles & 50–950 ramp
primary
#2A62B5
secondary
#C8A673
accent
#A442E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82