#2A62B6#2A62B6
#2A62B6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.146 H 258.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A62B6 |
|---|---|
| RGB | rgb(42, 98, 182) |
| HSL | hsl(216, 63%, 44%) |
| HSV | hsv(216, 77%, 71%) |
| CMYK | cmyk(76.9%, 46.2%, 0%, 28.6%) |
| CIE-LAB | lab(42.16, 11.87, -49.75) |
| CIE-LCH | lch(42.16, 51.14, 283.42°) |
| OKLab | oklab(50.5% -0.0287 -0.1427) |
| OKLCH | oklch(50.5% 0.146 258.6) |
| XYZ | xyz(13.7629, 12.6034, 45.9542) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.29
Mid Blue
#276AB3
ΔE00 3.39
French Blue
#436BAD
ΔE00 3.63
Medium Blue
#2C6FBB
ΔE00 4.84
Denim (survey)
#3B638C
ΔE00 4.84
Denim Blue
#3B5B92
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A62B6 #B67E2A
analogous
#2AA8B6 #2A62B6 #382AB6
triadic
#2A62B6 #B62A62 #62B62A
tetradic
#2A62B6 #B62AA8 #B67E2A #2AB638
square
#2A62B6 #B62AA8 #B67E2A #2AB638
split-complementary
#2A62B6 #B6382A #A8B62A
monochromatic
#132C53 #1F4784 #2A62B6 #4881D5 #7AA3E0
Accessibility & contrast
On white
5.96
#2A62B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2A62B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A62B6
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A62B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A62B6 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366AB9
Deuteranopia (green-blind)
#145EB4
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a62b6; /* rgb */ color: rgb(42, 98, 182); /* oklch */ color: oklch(50.5% 0.146 258.6);
Tailwind
colors: {
custom: {
50: '#788ecc',
500: '#2a62b6',
950: '#000000',
},
}SCSS
$custom: #2a62b6; $custom-light: #788ecc; $custom-dark: #000000;
JSON
{
"hex": "#2a62b6",
"rgb": {
"r": 42,
"g": 98,
"b": 182
},
"hsl": {
"h": 216,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.50497,
"c": 0.14557,
"h": 258.6
},
"luminance": 0.12605
}Semantic roles & 50–950 ramp
primary
#2A62B6
secondary
#C8A673
accent
#A442E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82