#4875DB#4875DB

#4875DB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.3% C 0.164 H 264.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4875DB
RGBrgb(72, 117, 219)
HSLhsl(222, 67%, 57%)
HSVhsv(222, 67%, 86%)
CMYKcmyk(67.1%, 46.6%, 0%, 14.1%)
CIE-LABlab(50.94, 17.62, -56.85)
CIE-LCHlch(50.94, 59.52, 287.22°)
OKLaboklab(58.31% -0.0168 -0.1628)
OKLCHoklch(58.31% 0.164 264.1)
XYZxyz(21.8155, 19.2126, 69.5628)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4875DB #DBAE48
analogous
#48BEDB #4875DB #6548DB
triadic
#4875DB #DB4875 #75DB48
tetradic
#4875DB #DB48BE #DBAE48 #48DB65
square
#4875DB #DB48BE #DBAE48 #48DB65
split-complementary
#4875DB #DB6548 #BEDB48
monochromatic
#1C3E8D #2655C0 #4875DB #7B9CE5 #AEC2EF

Accessibility & contrast

On white

4.34
#4875DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4875DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4875DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4875DB#FFFFFF#000000##000000
##4875DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DF
Deuteranopia (green-blind)
#2173D9
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4875db;
/* rgb */ color: rgb(72, 117, 219);
/* oklch */ color: oklch(58.3% 0.164 264.1);
Tailwind
colors: {
  custom: {
    50: '#8a9ce7',
    500: '#4875db',
    950: '#000000',
  },
}
SCSS
$custom: #4875db;
$custom-light: #8a9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4875db",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 221.633,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58306,
    "c": 0.16366,
    "h": 264.1
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#4875DB
secondary
#DDCBA2
accent
#B53EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4875DB

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

Preview Lab → · Contrast checker → · Palette generator →

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