#4C6DCF#4C6DCF

#4C6DCF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.156 H 267.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4C6DCF
RGBrgb(76, 109, 207)
HSLhsl(225, 58%, 55%)
HSVhsv(225, 63%, 81%)
CMYKcmyk(63.3%, 47.3%, 0%, 18.8%)
CIE-LABlab(48.23, 19.08, -54.36)
CIE-LCHlch(48.23, 57.61, 289.34°)
OKLaboklab(56.05% -0.0074 -0.1555)
OKLCHoklch(56.05% 0.156 267.3)
XYZxyz(19.7078, 16.9770, 61.2577)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6DCF #CFAE4C
analogous
#4CAFCF #4C6DCF #6C4CCF
triadic
#4C6DCF #CF4C6D #6DCF4C
tetradic
#4C6DCF #CF4CAF #CFAE4C #4CCF6C
square
#4C6DCF #CF4CAF #CFAE4C #4CCF6C
split-complementary
#4C6DCF #CF6C4C #AFCF4C
monochromatic
#22397F #2F4FAF #4C6DCF #7C94DC #ADBCE9

Accessibility & contrast

On white

4.78
#4C6DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4C6DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6DCF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6DCF#FFFFFF#000000##FFFFFF
##4C6DCF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B79D3
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c6dcf;
/* rgb */ color: rgb(76, 109, 207);
/* oklch */ color: oklch(56.1% 0.156 267.3);
Tailwind
colors: {
  custom: {
    50: '#8a96de',
    500: '#4c6dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4c6dcf;
$custom-light: #8a96de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6dcf",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 224.885,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56054,
    "c": 0.15569,
    "h": 267.3
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#4C6DCF
secondary
#D7C9A0
accent
#BA47E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C6DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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