#4875DF#4875DF

#4875DF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.169 H 264.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4875DF
RGBrgb(72, 117, 223)
HSLhsl(222, 70%, 58%)
HSVhsv(222, 68%, 87%)
CMYKcmyk(67.7%, 47.5%, 0%, 12.5%)
CIE-LABlab(51.18, 19.03, -58.71)
CIE-LCHlch(51.18, 61.72, 287.96°)
OKLaboklab(58.57% -0.0163 -0.1683)
OKLCHoklch(58.57% 0.169 264.5)
XYZxyz(22.3484, 19.4258, 72.3695)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875DF #DFB248
analogous
#48C1DF #4875DF #6648DF
triadic
#4875DF #DF4875 #75DF48
tetradic
#4875DF #DF48C1 #DFB248 #48DF66
square
#4875DF #DF48C1 #DFB248 #48DF66
split-complementary
#4875DF #DF6648 #C1DF48
monochromatic
#1A3E93 #2354C7 #4875DF #7C9CE8 #B0C4F1

Accessibility & contrast

On white

4.30
#4875DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4875DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875DF#FFFFFF#000000##000000
##4875DF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E3
Deuteranopia (green-blind)
#1773DD
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4875df;
/* rgb */ color: rgb(72, 117, 223);
/* oklch */ color: oklch(58.6% 0.169 264.5);
Tailwind
colors: {
  custom: {
    50: '#8b9cea',
    500: '#4875df',
    950: '#000000',
  },
}
SCSS
$custom: #4875df;
$custom-light: #8b9cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4875df",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 222.119,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58574,
    "c": 0.16905,
    "h": 264.5
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#4875DF
secondary
#E0CEA3
accent
#B83BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875DF

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

Preview Lab → · Contrast checker → · Palette generator →

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