#4868CF#4868CF

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

Color values

HEX#4868CF
RGBrgb(72, 104, 207)
HSLhsl(226, 58%, 55%)
HSVhsv(226, 65%, 81%)
CMYKcmyk(65.2%, 49.8%, 0%, 18.8%)
CIE-LABlab(46.69, 21.54, -56.86)
CIE-LCHlch(46.69, 60.80, 290.75°)
OKLaboklab(54.82% -0.0064 -0.163)
OKLCHoklch(54.82% 0.163 267.8)
XYZxyz(18.8814, 15.7816, 61.0705)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4868CF #CFAF48
analogous
#48ABCF #4868CF #6C48CF
triadic
#4868CF #CF4868 #68CF48
tetradic
#4868CF #CF48AB #CFAF48 #48CF6C
square
#4868CF #CF48AB #CFAF48 #48CF6C
split-complementary
#4868CF #CF6C48 #ABCF48
monochromatic
#21367C #2D4BAD #4868CF #7890DC #A9B8E8

Accessibility & contrast

On white

5.05
#4868CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4868CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4868CF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4868CF#FFFFFF#000000##FFFFFF
##4868CF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#0269CD
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4868cf;
/* rgb */ color: rgb(72, 104, 207);
/* oklch */ color: oklch(54.8% 0.163 267.8);
Tailwind
colors: {
  custom: {
    50: '#8992de',
    500: '#4868cf',
    950: '#000000',
  },
}
SCSS
$custom: #4868cf;
$custom-light: #8992de;
$custom-dark: #000000;
JSON
{
  "hex": "#4868cf",
  "rgb": {
    "r": 72,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 225.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.16313,
    "h": 267.8
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#4868CF
secondary
#D6C89D
accent
#BD46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4868CF

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

Preview Lab → · Contrast checker → · Palette generator →

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