#4862D3#4862D3

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

Color values

HEX#4862D3
RGBrgb(72, 98, 211)
HSLhsl(229, 61%, 55%)
HSVhsv(229, 66%, 83%)
CMYKcmyk(65.9%, 53.6%, 0%, 17.3%)
CIE-LABlab(45.38, 26.73, -61.26)
CIE-LCHlch(45.38, 66.83, 293.57°)
OKLaboklab(53.92% -0.0006 -0.176)
OKLCHoklch(53.92% 0.176 269.8)
XYZxyz(18.7940, 14.8145, 63.4844)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862D3 #D3B948
analogous
#48A7D3 #4862D3 #7348D3
triadic
#4862D3 #D34862 #62D348
tetradic
#4862D3 #D348A7 #D3B948 #48D373
square
#4862D3 #D348A7 #D3B948 #48D373
split-complementary
#4862D3 #D37348 #A7D348
monochromatic
#1F3281 #2B44B3 #4862D3 #798CDF #ABB7EB

Accessibility & contrast

On white

5.30
#4862D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4862D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862D3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862D3#FFFFFF#000000##FFFFFF
##4862D31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1072D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4862d3;
/* rgb */ color: rgb(72, 98, 211);
/* oklch */ color: oklch(53.9% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ee1',
    500: '#4862d3',
    950: '#000000',
  },
}
SCSS
$custom: #4862d3;
$custom-light: #8a8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4862d3",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 211
  },
  "hsl": {
    "h": 228.777,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5392,
    "c": 0.17603,
    "h": 269.8
  },
  "luminance": 0.14816
}

Semantic roles & 50–950 ramp

primary
#4862D3
secondary
#D8CE9E
accent
#C643E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4862D3

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

Preview Lab → · Contrast checker → · Palette generator →

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