#4C6BDF#4C6BDF

#4C6BDF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.8% C 0.180 H 268.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4C6BDF
RGBrgb(76, 107, 223)
HSLhsl(227, 70%, 59%)
HSVhsv(227, 66%, 87%)
CMYKcmyk(65.9%, 52%, 0%, 12.5%)
CIE-LABlab(48.73, 25.88, -62.65)
CIE-LCHlch(48.73, 67.78, 292.45°)
OKLaboklab(56.76% -0.0038 -0.1799)
OKLCHoklch(56.76% 0.18 268.8)
XYZxyz(21.5529, 17.3776, 72.0161)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6BDF #DFC04C
analogous
#4CB4DF #4C6BDF #764CDF
triadic
#4C6BDF #DF4C6B #6BDF4C
tetradic
#4C6BDF #DF4CB4 #DFC04C #4CDF76
square
#4C6BDF #DF4CB4 #DFC04C #4CDF76
split-complementary
#4C6BDF #DF764C #B4DF4C
monochromatic
#1B3596 #2447CA #4C6BDF #8096E8 #B4C1F2

Accessibility & contrast

On white

4.69
#4C6BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4C6BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6BDF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6BDF#FFFFFF#000000##FFFFFF
##4C6BDF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c6bdf;
/* rgb */ color: rgb(76, 107, 223);
/* oklch */ color: oklch(56.8% 0.180 268.8);
Tailwind
colors: {
  custom: {
    50: '#8d94ea',
    500: '#4c6bdf',
    950: '#000000',
  },
}
SCSS
$custom: #4c6bdf;
$custom-light: #8d94ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6bdf",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 227.347,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.17996,
    "h": 268.8
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#4C6BDF
secondary
#E0D4A6
accent
#C73BEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4C6BDF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4C6BDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva