#4768CD#4768CD

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

Color values

HEX#4768CD
RGBrgb(71, 104, 205)
HSLhsl(225, 57%, 54%)
HSVhsv(225, 65%, 80%)
CMYKcmyk(65.4%, 49.3%, 0%, 19.6%)
CIE-LABlab(46.51, 20.68, -56.00)
CIE-LCHlch(46.51, 59.70, 290.26°)
OKLaboklab(54.63% -0.0075 -0.1605)
OKLCHoklch(54.63% 0.161 267.3)
XYZxyz(18.5645, 15.6463, 59.7875)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4768CD #CDAC47
analogous
#47ABCD #4768CD #6947CD
triadic
#4768CD #CD4768 #68CD47
tetradic
#4768CD #CD47AB #CDAC47 #47CD69
square
#4768CD #CD47AB #CDAC47 #47CD69
split-complementary
#4768CD #CD6947 #ABCD47
monochromatic
#213679 #2E4CA9 #4768CD #778FDA #A7B7E7

Accessibility & contrast

On white

5.09
#4768CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4768CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4768CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4768CD#FFFFFF#000000##FFFFFF
##4768CD1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#0A68CB
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4768cd;
/* rgb */ color: rgb(71, 104, 205);
/* oklch */ color: oklch(54.6% 0.161 267.3);
Tailwind
colors: {
  custom: {
    50: '#8892dd',
    500: '#4768cd',
    950: '#000000',
  },
}
SCSS
$custom: #4768cd;
$custom-light: #8892dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4768cd",
  "rgb": {
    "r": 71,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 225.224,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.16069,
    "h": 267.3
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4768CD

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

Preview Lab → · Contrast checker → · Palette generator →

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