#4862DD#4862DD

#4862DD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.189 H 270.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4862DD
RGBrgb(72, 98, 221)
HSLhsl(230, 69%, 57%)
HSVhsv(230, 67%, 87%)
CMYKcmyk(67.4%, 55.7%, 0%, 13.3%)
CIE-LABlab(46.09, 30.22, -65.81)
CIE-LCHlch(46.09, 72.42, 294.66°)
OKLaboklab(54.67% -0.0001 -0.1894)
OKLCHoklch(54.67% 0.189 270)
XYZxyz(20.0869, 15.3316, 70.2933)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862DD #DDC348
analogous
#48ADDD #4862DD #7848DD
triadic
#4862DD #DD4862 #62DD48
tetradic
#4862DD #DD48AD #DDC348 #48DD78
square
#4862DD #DD48AD #DDC348 #48DD78
split-complementary
#4862DD #DD7848 #ADDD48
monochromatic
#1B2F90 #2440C3 #4862DD #7C8EE7 #AFBBF0

Accessibility & contrast

On white

5.16
#4862DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4862DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862DD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862DD#FFFFFF#000000##FFFFFF
##4862DD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#008096
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4862dd;
/* rgb */ color: rgb(72, 98, 221);
/* oklch */ color: oklch(54.7% 0.189 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c8ee8',
    500: '#4862dd',
    950: '#000000',
  },
}
SCSS
$custom: #4862dd;
$custom-light: #8c8ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4862dd",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 229.53,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.18943,
    "h": 270
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#4862DD
secondary
#DED4A2
accent
#CD3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4862DD

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

Preview Lab → · Contrast checker → · Palette generator →

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