#2F62B4#2F62B4
#2F62B4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.141 H 259.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F62B4 |
|---|---|
| RGB | rgb(47, 98, 180) |
| HSL | hsl(217, 59%, 45%) |
| HSV | hsv(217, 74%, 71%) |
| CMYK | cmyk(73.9%, 45.6%, 0%, 29.4%) |
| CIE-LAB | lab(42.21, 11.75, -48.49) |
| CIE-LCH | lch(42.21, 49.90, 283.62°) |
| OKLab | oklab(50.54% -0.0257 -0.1389) |
| OKLCH | oklch(50.54% 0.141 259.5) |
| XYZ | xyz(13.7752, 12.6335, 44.8837) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.73
French Blue
#436BAD
ΔE00 3.41
Mid Blue
#276AB3
ΔE00 3.64
Denim (survey)
#3B638C
ΔE00 4.74
Denim Blue
#3B5B92
ΔE00 4.92
Medium Blue
#2C6FBB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F62B4 #B4812F
analogous
#2FA5B4 #2F62B4 #3E2FB4
triadic
#2F62B4 #B42F62 #62B42F
tetradic
#2F62B4 #B42FA5 #B4812F #2FB43E
square
#2F62B4 #B42FA5 #B4812F #2FB43E
split-complementary
#2F62B4 #B43E2F #A5B42F
monochromatic
#162D53 #224883 #2F62B4 #4F81D1 #80A4DE
Accessibility & contrast
On white
5.95
#2F62B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2F62B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F62B4
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F62B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F62B4 | 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)
#386AB7
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f62b4; /* rgb */ color: rgb(47, 98, 180); /* oklch */ color: oklch(50.5% 0.141 259.5);
Tailwind
colors: {
custom: {
50: '#798ecb',
500: '#2f62b4',
950: '#000000',
},
}SCSS
$custom: #2f62b4; $custom-light: #798ecb; $custom-dark: #000000;
JSON
{
"hex": "#2f62b4",
"rgb": {
"r": 47,
"g": 98,
"b": 180
},
"hsl": {
"h": 216.992,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.50541,
"c": 0.14129,
"h": 259.5
},
"luminance": 0.12635
}Semantic roles & 50–950 ramp
primary
#2F62B4
secondary
#C7A978
accent
#A646E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82