#2F62B6#2F62B6
#2F62B6 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.144 H 259.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F62B6 |
|---|---|
| RGB | rgb(47, 98, 182) |
| HSL | hsl(217, 59%, 45%) |
| HSV | hsv(217, 74%, 71%) |
| CMYK | cmyk(74.2%, 46.2%, 0%, 28.6%) |
| CIE-LAB | lab(42.33, 12.51, -49.46) |
| CIE-LCH | lch(42.33, 51.02, 284.19°) |
| OKLab | oklab(50.68% -0.0253 -0.1418) |
| OKLCH | oklch(50.68% 0.144 259.9) |
| XYZ | xyz(13.9804, 12.7156, 45.9644) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.72
French Blue
#436BAD
ΔE00 3.43
Mid Blue
#276AB3
ΔE00 3.74
Denim (survey)
#3B638C
ΔE00 4.93
Medium Blue
#2C6FBB
ΔE00 5.05
Denim Blue
#3B5B92
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F62B6 #B6832F
analogous
#2FA6B6 #2F62B6 #3F2FB6
triadic
#2F62B6 #B62F62 #62B62F
tetradic
#2F62B6 #B62FA6 #B6832F #2FB63F
square
#2F62B6 #B62FA6 #B6832F #2FB63F
split-complementary
#2F62B6 #B63F2F #A6B62F
monochromatic
#162E55 #224885 #2F62B6 #5081D2 #81A4DE
Accessibility & contrast
On white
5.93
#2F62B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2F62B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F62B6
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F62B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F62B6 | 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)
#366BB9
Deuteranopia (green-blind)
#185EB4
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f62b6; /* rgb */ color: rgb(47, 98, 182); /* oklch */ color: oklch(50.7% 0.144 259.9);
Tailwind
colors: {
custom: {
50: '#7a8ecc',
500: '#2f62b6',
950: '#000000',
},
}SCSS
$custom: #2f62b6; $custom-light: #7a8ecc; $custom-dark: #000000;
JSON
{
"hex": "#2f62b6",
"rgb": {
"r": 47,
"g": 98,
"b": 182
},
"hsl": {
"h": 217.333,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.50678,
"c": 0.14403,
"h": 259.9
},
"luminance": 0.12717
}Semantic roles & 50–950 ramp
primary
#2F62B6
secondary
#C7AA79
accent
#A746E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82