#2F62B2#2F62B2
#2F62B2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.139 H 259.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F62B2 |
|---|---|
| RGB | rgb(47, 98, 178) |
| HSL | hsl(217, 58%, 44%) |
| HSV | hsv(217, 74%, 70%) |
| CMYK | cmyk(73.6%, 44.9%, 0%, 30.2%) |
| CIE-LAB | lab(42.08, 11.00, -47.52) |
| CIE-LCH | lch(42.08, 48.78, 283.03°) |
| OKLab | oklab(50.41% -0.026 -0.1361) |
| OKLCH | oklch(50.41% 0.139 259.2) |
| XYZ | xyz(13.5729, 12.5526, 43.8184) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.77
French Blue
#436BAD
ΔE00 3.41
Mid Blue
#276AB3
ΔE00 3.56
Denim (survey)
#3B638C
ΔE00 4.55
Denim Blue
#3B5B92
ΔE00 4.76
Medium Blue
#2C6FBB
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F62B2 #B27F2F
analogous
#2FA4B2 #2F62B2 #3E2FB2
triadic
#2F62B2 #B22F62 #62B22F
tetradic
#2F62B2 #B22FA4 #B27F2F #2FB23E
square
#2F62B2 #B22FA4 #B27F2F #2FB23E
split-complementary
#2F62B2 #B23E2F #A4B22F
monochromatic
#152D51 #224782 #2F62B2 #4E81D0 #7EA3DD
Accessibility & contrast
On white
5.98
#2F62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2F62B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F62B2
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F62B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F62B2 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#1F5EB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f62b2; /* rgb */ color: rgb(47, 98, 178); /* oklch */ color: oklch(50.4% 0.139 259.2);
Tailwind
colors: {
custom: {
50: '#798ec9',
500: '#2f62b2',
950: '#000000',
},
}SCSS
$custom: #2f62b2; $custom-light: #798ec9; $custom-dark: #000000;
JSON
{
"hex": "#2f62b2",
"rgb": {
"r": 47,
"g": 98,
"b": 178
},
"hsl": {
"h": 216.641,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.50405,
"c": 0.13855,
"h": 259.2
},
"luminance": 0.12554
}Semantic roles & 50–950 ramp
primary
#2F62B2
secondary
#C6A777
accent
#A546E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82