#4862D2#4862D2

#4862D2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.175 H 269.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4862D2
RGBrgb(72, 98, 210)
HSLhsl(229, 61%, 55%)
HSVhsv(229, 66%, 82%)
CMYKcmyk(65.7%, 53.3%, 0%, 17.6%)
CIE-LABlab(45.31, 26.38, -60.80)
CIE-LCHlch(45.31, 66.27, 293.46°)
OKLaboklab(53.85% -0.0007 -0.1747)
OKLCHoklch(53.85% 0.175 269.8)
XYZxyz(18.6691, 14.7645, 62.8263)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862D2 #D2B848
analogous
#48A7D2 #4862D2 #7348D2
triadic
#4862D2 #D24862 #62D248
tetradic
#4862D2 #D248A7 #D2B848 #48D273
square
#4862D2 #D248A7 #D2B848 #48D273
split-complementary
#4862D2 #D27348 #A7D248
monochromatic
#203280 #2C45B1 #4862D2 #798CDE #AAB6EA

Accessibility & contrast

On white

5.31
#4862D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4862D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862D2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862D2#FFFFFF#000000##FFFFFF
##4862D21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1372D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4862d2;
/* rgb */ color: rgb(72, 98, 210);
/* oklch */ color: oklch(53.8% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ee1',
    500: '#4862d2',
    950: '#000000',
  },
}
SCSS
$custom: #4862d2;
$custom-light: #8a8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4862d2",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 228.696,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.17468,
    "h": 269.8
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#4862D2
secondary
#D8CD9E
accent
#C644E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4862D2

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

Preview Lab → · Contrast checker → · Palette generator →

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