#2A62B8#2A62B8
#2A62B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.148 H 259.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A62B8 |
|---|---|
| RGB | rgb(42, 98, 184) |
| HSL | hsl(216, 63%, 44%) |
| HSV | hsv(216, 77%, 72%) |
| CMYK | cmyk(77.2%, 46.7%, 0%, 27.8%) |
| CIE-LAB | lab(42.29, 12.64, -50.71) |
| CIE-LCH | lch(42.29, 52.26, 283.99°) |
| OKLab | oklab(50.64% -0.0284 -0.1455) |
| OKLCH | oklch(50.64% 0.148 259) |
| XYZ | xyz(13.9711, 12.6867, 47.0506) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.28
Mid Blue
#276AB3
ΔE00 3.49
French Blue
#436BAD
ΔE00 3.64
Medium Blue
#2C6FBB
ΔE00 4.86
Denim (survey)
#3B638C
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A62B8 #B8802A
analogous
#2AA9B8 #2A62B8 #392AB8
triadic
#2A62B8 #B82A62 #62B82A
tetradic
#2A62B8 #B82AA9 #B8802A #2AB839
square
#2A62B8 #B82AA9 #B8802A #2AB839
split-complementary
#2A62B8 #B8392A #A9B82A
monochromatic
#132D54 #1F4786 #2A62B8 #4A81D6 #7BA3E1
Accessibility & contrast
On white
5.94
#2A62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2A62B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A62B8
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A62B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A62B8 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#0E5EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2a62b8; /* rgb */ color: rgb(42, 98, 184); /* oklch */ color: oklch(50.6% 0.148 259.0);
Tailwind
colors: {
custom: {
50: '#788ece',
500: '#2a62b8',
950: '#000000',
},
}SCSS
$custom: #2a62b8; $custom-light: #788ece; $custom-dark: #000000;
JSON
{
"hex": "#2a62b8",
"rgb": {
"r": 42,
"g": 98,
"b": 184
},
"hsl": {
"h": 216.338,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.50637,
"c": 0.14828,
"h": 259
},
"luminance": 0.12688
}Semantic roles & 50–950 ramp
primary
#2A62B8
secondary
#C9A875
accent
#A542E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82