#4862CF#4862CF

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

Color values

HEX#4862CF
RGBrgb(72, 98, 207)
HSLhsl(228, 58%, 55%)
HSVhsv(228, 65%, 81%)
CMYKcmyk(65.2%, 52.7%, 0%, 18.8%)
CIE-LABlab(45.10, 25.33, -59.41)
CIE-LCHlch(45.10, 64.59, 293.09°)
OKLaboklab(53.63% -0.0009 -0.1706)
OKLCHoklch(53.63% 0.171 269.7)
XYZxyz(18.2988, 14.6164, 60.8763)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862CF #CFB548
analogous
#48A6CF #4862CF #7148CF
triadic
#4862CF #CF4862 #62CF48
tetradic
#4862CF #CF48A6 #CFB548 #48CF71
square
#4862CF #CF48A6 #CFB548 #48CF71
split-complementary
#4862CF #CF7148 #A6CF48
monochromatic
#21327C #2D46AD #4862CF #788CDC #A9B5E8

Accessibility & contrast

On white

5.35
#4862CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4862CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862CF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862CF#FFFFFF#000000##FFFFFF
##4862CF1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4862cf;
/* rgb */ color: rgb(72, 98, 207);
/* oklch */ color: oklch(53.6% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#898ede',
    500: '#4862cf',
    950: '#000000',
  },
}
SCSS
$custom: #4862cf;
$custom-light: #898ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4862cf",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 228.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.1706,
    "h": 269.7
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#4862CF
secondary
#D6CB9D
accent
#C446E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4862CF

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

Preview Lab → · Contrast checker → · Palette generator →

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