#4C6CDB#4C6CDB
#4C6CDB is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.173 H 268.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4C6CDB |
|---|---|
| RGB | rgb(76, 108, 219) |
| HSL | hsl(227, 67%, 58%) |
| HSV | hsv(227, 65%, 86%) |
| CMYK | cmyk(65.3%, 50.7%, 0%, 14.1%) |
| CIE-LAB | lab(48.73, 23.87, -60.39) |
| CIE-LCH | lch(48.73, 64.94, 291.57°) |
| OKLab | oklab(56.68% -0.0051 -0.1733) |
| OKLCH | oklch(56.68% 0.173 268.3) |
| XYZ | xyz(21.1249, 17.3741, 69.2444) |
| Luminance | 0.1738 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.45
Royal Blue
#4169E1
ΔE00 1.47
Bright Blue
#0165FC
ΔE00 4.69
Cerulean Blue
#056EEE
ΔE00 4.78
Azul
#1D5DEC
ΔE00 5.52
Deep Sky Blue
#0D75F8
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C6CDB #DBBB4C
analogous
#4CB4DB #4C6CDB #734CDB
triadic
#4C6CDB #DB4C6C #6CDB4C
tetradic
#4C6CDB #DB4CB4 #DBBB4C #4CDB73
square
#4C6CDB #DB4CB4 #DBBB4C #4CDB73
split-complementary
#4C6CDB #DB734C #B4DB4C
monochromatic
#1D3790 #274AC3 #4C6CDB #7F96E5 #B2C0EF
Accessibility & contrast
On white
4.69
#4C6CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#4C6CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C6CDB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C6CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C6CDB | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #4c6cdb; /* rgb */ color: rgb(76, 108, 219); /* oklch */ color: oklch(56.7% 0.173 268.3);
Tailwind
colors: {
custom: {
50: '#8d95e7',
500: '#4c6cdb',
950: '#000000',
},
}SCSS
$custom: #4c6cdb; $custom-light: #8d95e7; $custom-dark: #000000;
JSON
{
"hex": "#4c6cdb",
"rgb": {
"r": 76,
"g": 108,
"b": 219
},
"hsl": {
"h": 226.573,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.56677,
"c": 0.17333,
"h": 268.3
},
"luminance": 0.17376
}Semantic roles & 50–950 ramp
primary
#4C6CDB
secondary
#DED1A5
accent
#C33EE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84