#4868CD#4868CD

#4868CD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.7% C 0.160 H 267.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4868CD
RGBrgb(72, 104, 205)
HSLhsl(226, 57%, 54%)
HSVhsv(226, 65%, 80%)
CMYKcmyk(64.9%, 49.3%, 0%, 19.6%)
CIE-LABlab(46.56, 20.84, -55.92)
CIE-LCHlch(46.56, 59.68, 290.44°)
OKLaboklab(54.68% -0.0066 -0.1602)
OKLCHoklch(54.68% 0.16 267.6)
XYZxyz(18.6385, 15.6844, 59.7909)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4868CD #CDAD48
analogous
#48ABCD #4868CD #6B48CD
triadic
#4868CD #CD4868 #68CD48
tetradic
#4868CD #CD48AB #CDAD48 #48CD6B
square
#4868CD #CD48AB #CDAD48 #48CD6B
split-complementary
#4868CD #CD6B48 #ABCD48
monochromatic
#213679 #2E4CA9 #4868CD #7890DA #A8B7E7

Accessibility & contrast

On white

5.08
#4868CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4868CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4868CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4868CD#FFFFFF#000000##FFFFFF
##4868CD1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4868cd;
/* rgb */ color: rgb(72, 104, 205);
/* oklch */ color: oklch(54.7% 0.160 267.6);
Tailwind
colors: {
  custom: {
    50: '#8892dd',
    500: '#4868cd',
    950: '#000000',
  },
}
SCSS
$custom: #4868cd;
$custom-light: #8892dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4868cd",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 225.564,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.16038,
    "h": 267.6
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#4868CD
secondary
#D5C79C
accent
#BC47E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0D15
muted
#7D7D83

Preview Lab

Preview with #4868CD

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

Preview Lab → · Contrast checker → · Palette generator →

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