#4C68CB#4C68CB

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

Color values

HEX#4C68CB
RGBrgb(76, 104, 203)
HSLhsl(227, 55%, 55%)
HSVhsv(227, 63%, 80%)
CMYKcmyk(62.6%, 48.8%, 0%, 20.4%)
CIE-LABlab(46.64, 20.84, -54.63)
CIE-LCHlch(46.64, 58.47, 290.88°)
OKLaboklab(54.76% -0.003 -0.1564)
OKLCHoklch(54.76% 0.156 268.9)
XYZxyz(18.7066, 15.7473, 58.5421)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C68CB #CBAF4C
analogous
#4CA7CB #4C68CB #704CCB
triadic
#4C68CB #CB4C68 #68CB4C
tetradic
#4C68CB #CB4CA7 #CBAF4C #4CCB70
square
#4C68CB #CB4CA7 #CBAF4C #4CCB70
split-complementary
#4C68CB #CB704C #A7CB4C
monochromatic
#233679 #314BA9 #4C68CB #7B90D9 #ABB8E7

Accessibility & contrast

On white

5.06
#4C68CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4C68CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C68CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C68CB#FFFFFF#000000##FFFFFF
##4C68CB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#1969C9
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c68cb;
/* rgb */ color: rgb(76, 104, 203);
/* oklch */ color: oklch(54.8% 0.156 268.9);
Tailwind
colors: {
  custom: {
    50: '#8a92db',
    500: '#4c68cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c68cb;
$custom-light: #8a92db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c68cb",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 226.772,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.15639,
    "h": 268.9
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#4C68CB
secondary
#D4C89F
accent
#BE49DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4C68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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