#4862CE#4862CE

#4862CE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.169 H 269.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4862CE
RGBrgb(72, 98, 206)
HSLhsl(228, 58%, 55%)
HSVhsv(228, 65%, 81%)
CMYKcmyk(65%, 52.4%, 0%, 19.2%)
CIE-LABlab(45.04, 24.98, -58.95)
CIE-LCHlch(45.04, 64.02, 292.97°)
OKLaboklab(53.55% -0.0009 -0.1692)
OKLCHoklch(53.55% 0.169 269.7)
XYZxyz(18.1770, 14.5677, 60.2345)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862CE #CEB448
analogous
#48A5CE #4862CE #7148CE
triadic
#4862CE #CE4862 #62CE48
tetradic
#4862CE #CE48A5 #CEB448 #48CE71
square
#4862CE #CE48A5 #CEB448 #48CE71
split-complementary
#4862CE #CE7148 #A5CE48
monochromatic
#21327B #2E46AB #4862CE #788BDB #A9B5E8

Accessibility & contrast

On white

5.37
#4862CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4862CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862CE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862CE#FFFFFF#000000##FFFFFF
##4862CE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4862ce;
/* rgb */ color: rgb(72, 98, 206);
/* oklch */ color: oklch(53.6% 0.169 269.7);
Tailwind
colors: {
  custom: {
    50: '#898ede',
    500: '#4862ce',
    950: '#000000',
  },
}
SCSS
$custom: #4862ce;
$custom-light: #898ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4862ce",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 228.358,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.16923,
    "h": 269.7
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#4862CE
secondary
#D5CA9D
accent
#C347E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4862CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4862CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva