#4768CC#4768CC

#4768CC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.6% C 0.159 H 267.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4768CC
RGBrgb(71, 104, 204)
HSLhsl(225, 57%, 54%)
HSVhsv(225, 65%, 80%)
CMYKcmyk(65.2%, 49%, 0%, 20%)
CIE-LABlab(46.44, 20.32, -55.53)
CIE-LCHlch(46.44, 59.14, 290.10°)
OKLaboklab(54.56% -0.0077 -0.1591)
OKLCHoklch(54.56% 0.159 267.2)
XYZxyz(18.4442, 15.5981, 59.1538)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768CC #CCAB47
analogous
#47ABCC #4768CC #6947CC
triadic
#4768CC #CC4768 #68CC47
tetradic
#4768CC #CC47AB #CCAB47 #47CC69
square
#4768CC #CC47AB #CCAB47 #47CC69
split-complementary
#4768CC #CC6947 #ABCC47
monochromatic
#213777 #2E4CA7 #4768CC #778FD9 #A7B7E7

Accessibility & contrast

On white

5.10
#4768CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#4768CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768CC#FFFFFF#000000##FFFFFF
##4768CC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#0F68CA
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4768cc;
/* rgb */ color: rgb(71, 104, 204);
/* oklch */ color: oklch(54.6% 0.159 267.2);
Tailwind
colors: {
  custom: {
    50: '#8892dc',
    500: '#4768cc',
    950: '#000000',
  },
}
SCSS
$custom: #4768cc;
$custom-light: #8892dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4768cc",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 225.113,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.15931,
    "h": 267.2
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#4768CC
secondary
#D4C69B
accent
#BA48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0D15
muted
#7D7D83

Preview Lab

Preview with #4768CC

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

Preview Lab → · Contrast checker → · Palette generator →

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