#4C62DB#4C62DB
#4C62DB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.186 H 271.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C62DB |
|---|---|
| RGB | rgb(76, 98, 219) |
| HSL | hsl(231, 67%, 58%) |
| HSV | hsv(231, 65%, 86%) |
| CMYK | cmyk(65.3%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(46.16, 30.12, -64.55) |
| CIE-LCH | lch(46.16, 71.23, 295.02°) |
| OKLab | oklab(54.74% 0.0038 -0.1856) |
| OKLCH | oklch(54.74% 0.186 271.2) |
| XYZ | xyz(20.1300, 15.3845, 68.9128) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.09
Warm Blue
#4B57DB
ΔE00 3.56
Azul
#1D5DEC
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 4.61
Cornflower Blue
#5170D7
ΔE00 4.82
Bright Blue
#0165FC
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C62DB #DBC54C
analogous
#4CAADB #4C62DB #7D4CDB
triadic
#4C62DB #DB4C62 #62DB4C
tetradic
#4C62DB #DB4CAA #DBC54C #4CDB7D
square
#4C62DB #DB4CAA #DBC54C #4CDB7D
split-complementary
#4C62DB #DB7D4C #AADB4C
monochromatic
#1D2F90 #273FC3 #4C62DB #7F8FE5 #B2BBEF
Accessibility & contrast
On white
5.15
#4C62DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#4C62DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C62DB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C62DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C62DB | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4c62db; /* rgb */ color: rgb(76, 98, 219); /* oklch */ color: oklch(54.7% 0.186 271.2);
Tailwind
colors: {
custom: {
50: '#8d8ee7',
500: '#4c62db',
950: '#000000',
},
}SCSS
$custom: #4c62db; $custom-light: #8d8ee7; $custom-dark: #000000;
JSON
{
"hex": "#4c62db",
"rgb": {
"r": 76,
"g": 98,
"b": 219
},
"hsl": {
"h": 230.769,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.54739,
"c": 0.18567,
"h": 271.2
},
"luminance": 0.15386
}Semantic roles & 50–950 ramp
primary
#4C62DB
secondary
#DED5A5
accent
#CF3EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84