#4862DF#4862DF

#4862DF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.192 H 270.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4862DF
RGBrgb(72, 98, 223)
HSLhsl(230, 70%, 58%)
HSVhsv(230, 68%, 87%)
CMYKcmyk(67.7%, 56.1%, 0%, 12.5%)
CIE-LABlab(46.23, 30.91, -66.71)
CIE-LCHlch(46.23, 73.53, 294.86°)
OKLaboklab(54.83% 0 -0.1921)
OKLCHoklch(54.83% 0.192 270)
XYZxyz(20.3549, 15.4388, 71.7050)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4862DF #DFC548
analogous
#48ADDF #4862DF #7948DF
triadic
#4862DF #DF4862 #62DF48
tetradic
#4862DF #DF48AD #DFC548 #48DF79
square
#4862DF #DF48AD #DFC548 #48DF79
split-complementary
#4862DF #DF7948 #ADDF48
monochromatic
#1A2F93 #233FC7 #4862DF #7C8FE8 #B0BBF1

Accessibility & contrast

On white

5.14
#4862DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4862DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4862DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4862DF#FFFFFF#000000##FFFFFF
##4862DF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4862df;
/* rgb */ color: rgb(72, 98, 223);
/* oklch */ color: oklch(54.8% 0.192 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c8eea',
    500: '#4862df',
    950: '#000000',
  },
}
SCSS
$custom: #4862df;
$custom-light: #8c8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#4862df",
  "rgb": {
    "r": 72,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 229.669,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.19208,
    "h": 270
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#4862DF
secondary
#E0D5A3
accent
#CE3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4862DF

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

Preview Lab → · Contrast checker → · Palette generator →

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