#2A62B7#2A62B7
#2A62B7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.147 H 258.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A62B7 |
|---|---|
| RGB | rgb(42, 98, 183) |
| HSL | hsl(216, 63%, 44%) |
| HSV | hsv(216, 77%, 72%) |
| CMYK | cmyk(77%, 46.4%, 0%, 28.2%) |
| CIE-LAB | lab(42.22, 12.25, -50.23) |
| CIE-LCH | lch(42.22, 51.70, 283.71°) |
| OKLab | oklab(50.57% -0.0286 -0.1441) |
| OKLCH | oklch(50.57% 0.147 258.8) |
| XYZ | xyz(13.8666, 12.6449, 46.5005) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.28
Mid Blue
#276AB3
ΔE00 3.44
French Blue
#436BAD
ΔE00 3.63
Medium Blue
#2C6FBB
ΔE00 4.85
Denim (survey)
#3B638C
ΔE00 4.93
Denim Blue
#3B5B92
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A62B7 #B77F2A
analogous
#2AA9B7 #2A62B7 #382AB7
triadic
#2A62B7 #B72A62 #62B72A
tetradic
#2A62B7 #B72AA9 #B77F2A #2AB738
square
#2A62B7 #B72AA9 #B77F2A #2AB738
split-complementary
#2A62B7 #B7382A #A9B72A
monochromatic
#132D53 #1F4785 #2A62B7 #4981D5 #7BA3E1
Accessibility & contrast
On white
5.95
#2A62B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2A62B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A62B7
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A62B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A62B7 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356BBA
Deuteranopia (green-blind)
#115EB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2a62b7; /* rgb */ color: rgb(42, 98, 183); /* oklch */ color: oklch(50.6% 0.147 258.8);
Tailwind
colors: {
custom: {
50: '#788ecd',
500: '#2a62b7',
950: '#000000',
},
}SCSS
$custom: #2a62b7; $custom-light: #788ecd; $custom-dark: #000000;
JSON
{
"hex": "#2a62b7",
"rgb": {
"r": 42,
"g": 98,
"b": 183
},
"hsl": {
"h": 216.17,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.50567,
"c": 0.14692,
"h": 258.8
},
"luminance": 0.12647
}Semantic roles & 50–950 ramp
primary
#2A62B7
secondary
#C9A774
accent
#A542E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82