#4768CF#4768CF

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

Color values

HEX#4768CF
RGBrgb(71, 104, 207)
HSLhsl(225, 59%, 55%)
HSVhsv(225, 66%, 81%)
CMYKcmyk(65.7%, 49.8%, 0%, 18.8%)
CIE-LABlab(46.64, 21.38, -56.94)
CIE-LCHlch(46.64, 60.82, 290.58°)
OKLaboklab(54.77% -0.0073 -0.1633)
OKLCHoklch(54.77% 0.163 267.4)
XYZxyz(18.8075, 15.7435, 61.0670)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768CF #CFAE47
analogous
#47ACCF #4768CF #6A47CF
triadic
#4768CF #CF4768 #68CF47
tetradic
#4768CF #CF47AC #CFAE47 #47CF6A
square
#4768CF #CF47AC #CFAE47 #47CF6A
split-complementary
#4768CF #CF6A47 #ACCF47
monochromatic
#20367B #2D4CAC #4768CF #7890DC #A8B8E8

Accessibility & contrast

On white

5.06
#4768CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4768CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768CF#FFFFFF#000000##FFFFFF
##4768CF1.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)
#2E75D3
Deuteranopia (green-blind)
#0069CD
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4768cf;
/* rgb */ color: rgb(71, 104, 207);
/* oklch */ color: oklch(54.8% 0.163 267.4);
Tailwind
colors: {
  custom: {
    50: '#8892de',
    500: '#4768cf',
    950: '#000000',
  },
}
SCSS
$custom: #4768cf;
$custom-light: #8892de;
$custom-dark: #000000;
JSON
{
  "hex": "#4768cf",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 225.441,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.16343,
    "h": 267.4
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#4768CF
secondary
#D6C89C
accent
#BC46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0D15
muted
#7D7D83

Preview Lab

Preview with #4768CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4768CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva