#4C68CC#4C68CC

#4C68CC is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.8% C 0.158 H 268.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4C68CC
RGBrgb(76, 104, 204)
HSLhsl(227, 56%, 55%)
HSVhsv(227, 63%, 80%)
CMYKcmyk(62.7%, 49%, 0%, 20%)
CIE-LABlab(46.70, 21.18, -55.10)
CIE-LCHlch(46.70, 59.03, 291.03°)
OKLaboklab(54.83% -0.0029 -0.1577)
OKLCHoklch(54.83% 0.158 268.9)
XYZxyz(18.8262, 15.7951, 59.1717)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C68CC #CCB04C
analogous
#4CA8CC #4C68CC #704CCC
triadic
#4C68CC #CC4C68 #68CC4C
tetradic
#4C68CC #CC4CA8 #CCB04C #4CCC70
square
#4C68CC #CC4CA8 #CCB04C #4CCC70
split-complementary
#4C68CC #CC704C #A8CC4C
monochromatic
#23367B #314BAA #4C68CC #7C90DA #ABB8E7

Accessibility & contrast

On white

5.05
#4C68CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4C68CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C68CC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C68CC#FFFFFF#000000##FFFFFF
##4C68CC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#1669CA
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c68cc;
/* rgb */ color: rgb(76, 104, 204);
/* oklch */ color: oklch(54.8% 0.158 268.9);
Tailwind
colors: {
  custom: {
    50: '#8a92dc',
    500: '#4c68cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c68cc;
$custom-light: #8a92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c68cc",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 226.875,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.15778,
    "h": 268.9
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#4C68CC
secondary
#D5C99F
accent
#BE49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4C68CC

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

Preview Lab → · Contrast checker → · Palette generator →

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