#2F62C0#2F62C0
#2F62C0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.158 H 261.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F62C0 |
|---|---|
| RGB | rgb(47, 98, 192) |
| HSL | hsl(219, 61%, 47%) |
| HSV | hsv(219, 76%, 75%) |
| CMYK | cmyk(75.5%, 49%, 0%, 24.7%) |
| CIE-LAB | lab(42.98, 16.29, -54.24) |
| CIE-LCH | lch(42.98, 56.64, 286.71°) |
| OKLab | oklab(51.38% -0.0237 -0.1559) |
| OKLCH | oklch(51.38% 0.158 261.3) |
| XYZ | xyz(15.0510, 13.1438, 51.6027) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.21
French Blue
#436BAD
ΔE00 3.78
Mid Blue
#276AB3
ΔE00 4.38
Medium Blue
#2C6FBB
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.35
Royal Blue
#4169E1
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F62C0 #C08D2F
analogous
#2FAAC0 #2F62C0 #452FC0
triadic
#2F62C0 #C02F62 #62C02F
tetradic
#2F62C0 #C02FAA #C08D2F #2FC045
square
#2F62C0 #C02FAA #C08D2F #2FC045
split-complementary
#2F62C0 #C0452F #AAC02F
monochromatic
#17305E #23498F #2F62C0 #5683D6 #88A7E2
Accessibility & contrast
On white
5.79
#2F62C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2F62C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F62C0
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F62C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F62C0 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6DC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f62c0; /* rgb */ color: rgb(47, 98, 192); /* oklch */ color: oklch(51.4% 0.158 261.3);
Tailwind
colors: {
custom: {
50: '#7c8ed4',
500: '#2f62c0',
950: '#000000',
},
}SCSS
$custom: #2f62c0; $custom-light: #7c8ed4; $custom-dark: #000000;
JSON
{
"hex": "#2f62c0",
"rgb": {
"r": 47,
"g": 98,
"b": 192
},
"hsl": {
"h": 218.897,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.51383,
"c": 0.15766,
"h": 261.3
},
"luminance": 0.13145
}Semantic roles & 50–950 ramp
primary
#2F62C0
secondary
#CBB17F
accent
#AC44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83