#2F62B5#2F62B5
#2F62B5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.143 H 259.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F62B5 |
|---|---|
| RGB | rgb(47, 98, 181) |
| HSL | hsl(217, 59%, 45%) |
| HSV | hsv(217, 74%, 71%) |
| CMYK | cmyk(74%, 45.9%, 0%, 29%) |
| CIE-LAB | lab(42.27, 12.13, -48.98) |
| CIE-LCH | lch(42.27, 50.46, 283.91°) |
| OKLab | oklab(50.61% -0.0255 -0.1404) |
| OKLCH | oklch(50.61% 0.143 259.7) |
| XYZ | xyz(13.8774, 12.6744, 45.4221) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.72
French Blue
#436BAD
ΔE00 3.42
Mid Blue
#276AB3
ΔE00 3.69
Denim (survey)
#3B638C
ΔE00 4.83
Denim Blue
#3B5B92
ΔE00 5.01
Medium Blue
#2C6FBB
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F62B5 #B5822F
analogous
#2FA5B5 #2F62B5 #3F2FB5
triadic
#2F62B5 #B52F62 #62B52F
tetradic
#2F62B5 #B52FA5 #B5822F #2FB53F
square
#2F62B5 #B52FA5 #B5822F #2FB53F
split-complementary
#2F62B5 #B53F2F #A5B52F
monochromatic
#162D54 #224884 #2F62B5 #5081D1 #80A4DE
Accessibility & contrast
On white
5.94
#2F62B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2F62B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F62B5
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F62B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F62B5 | 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)
#376AB8
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f62b5; /* rgb */ color: rgb(47, 98, 181); /* oklch */ color: oklch(50.6% 0.143 259.7);
Tailwind
colors: {
custom: {
50: '#798ecc',
500: '#2f62b5',
950: '#000000',
},
}SCSS
$custom: #2f62b5; $custom-light: #798ecc; $custom-dark: #000000;
JSON
{
"hex": "#2f62b5",
"rgb": {
"r": 47,
"g": 98,
"b": 181
},
"hsl": {
"h": 217.164,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.50609,
"c": 0.14267,
"h": 259.7
},
"luminance": 0.12676
}Semantic roles & 50–950 ramp
primary
#2F62B5
secondary
#C7A979
accent
#A746E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82