#2B62B8#2B62B8
#2B62B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.148 H 259.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B62B8 |
|---|---|
| RGB | rgb(43, 98, 184) |
| HSL | hsl(217, 62%, 45%) |
| HSV | hsv(217, 77%, 72%) |
| CMYK | cmyk(76.6%, 46.7%, 0%, 27.8%) |
| CIE-LAB | lab(42.32, 12.76, -50.66) |
| CIE-LCH | lch(42.32, 52.24, 284.14°) |
| OKLab | oklab(50.67% -0.0277 -0.1454) |
| OKLCH | oklch(50.67% 0.148 259.2) |
| XYZ | xyz(14.0125, 12.7080, 47.0525) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.37
Mid Blue
#276AB3
ΔE00 3.56
French Blue
#436BAD
ΔE00 3.60
Medium Blue
#2C6FBB
ΔE00 4.90
Denim (survey)
#3B638C
ΔE00 5.04
Sapphire
#0F52BA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B62B8 #B8812B
analogous
#2BA9B8 #2B62B8 #3B2BB8
triadic
#2B62B8 #B82B62 #62B82B
tetradic
#2B62B8 #B82BA9 #B8812B #2BB83B
square
#2B62B8 #B82BA9 #B8812B #2BB83B
split-complementary
#2B62B8 #B83B2B #A9B82B
monochromatic
#142D55 #1F4886 #2B62B8 #4B81D5 #7DA4E1
Accessibility & contrast
On white
5.93
#2B62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2B62B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B62B8
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B62B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B62B8 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#0F5EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2b62b8; /* rgb */ color: rgb(43, 98, 184); /* oklch */ color: oklch(50.7% 0.148 259.2);
Tailwind
colors: {
custom: {
50: '#798ece',
500: '#2b62b8',
950: '#000000',
},
}SCSS
$custom: #2b62b8; $custom-light: #798ece; $custom-dark: #000000;
JSON
{
"hex": "#2b62b8",
"rgb": {
"r": 43,
"g": 98,
"b": 184
},
"hsl": {
"h": 216.596,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.50671,
"c": 0.14798,
"h": 259.2
},
"luminance": 0.1271
}Semantic roles & 50–950 ramp
primary
#2B62B8
secondary
#C9A976
accent
#A643E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82