#4865DF#4865DF

#4865DF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.4% C 0.188 H 269.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4865DF
RGBrgb(72, 101, 223)
HSLhsl(228, 70%, 58%)
HSVhsv(228, 68%, 87%)
CMYKcmyk(67.7%, 54.7%, 0%, 12.5%)
CIE-LABlab(46.99, 29.04, -65.48)
CIE-LCHlch(46.99, 71.63, 293.91°)
OKLaboklab(55.4% -0.0025 -0.1884)
OKLCHoklch(55.4% 0.188 269.2)
XYZxyz(20.6409, 16.0108, 71.8003)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4865DF #DFC248
analogous
#48B0DF #4865DF #7648DF
triadic
#4865DF #DF4865 #65DF48
tetradic
#4865DF #DF48B0 #DFC248 #48DF76
square
#4865DF #DF48B0 #DFC248 #48DF76
split-complementary
#4865DF #DF7648 #B0DF48
monochromatic
#1A3193 #2342C7 #4865DF #7C91E8 #B0BDF1

Accessibility & contrast

On white

5.00
#4865DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4865DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4865DF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4865DF#FFFFFF#000000##FFFFFF
##4865DF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4865df;
/* rgb */ color: rgb(72, 101, 223);
/* oklch */ color: oklch(55.4% 0.188 269.2);
Tailwind
colors: {
  custom: {
    50: '#8c90ea',
    500: '#4865df',
    950: '#000000',
  },
}
SCSS
$custom: #4865df;
$custom-light: #8c90ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4865df",
  "rgb": {
    "r": 72,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 228.477,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.18844,
    "h": 269.2
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#4865DF
secondary
#E0D4A3
accent
#CB3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4865DF

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

Preview Lab → · Contrast checker → · Palette generator →

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