#4874DB#4874DB

#4874DB is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.165 H 264.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4874DB
RGBrgb(72, 116, 219)
HSLhsl(222, 67%, 57%)
HSVhsv(222, 67%, 86%)
CMYKcmyk(67.1%, 47%, 0%, 14.1%)
CIE-LABlab(50.66, 18.24, -57.28)
CIE-LCHlch(50.66, 60.12, 287.67°)
OKLaboklab(58.1% -0.0159 -0.1641)
OKLCHoklch(58.1% 0.165 264.5)
XYZxyz(21.6996, 18.9808, 69.5242)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874DB #DBAF48
analogous
#48BDDB #4874DB #6648DB
triadic
#4874DB #DB4874 #74DB48
tetradic
#4874DB #DB48BD #DBAF48 #48DB66
square
#4874DB #DB48BD #DBAF48 #48DB66
split-complementary
#4874DB #DB6648 #BDDB48
monochromatic
#1C3E8D #2654C0 #4874DB #7B9BE5 #AEC2EF

Accessibility & contrast

On white

4.38
#4874DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4874DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874DB#FFFFFF#000000##000000
##4874DB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80DF
Deuteranopia (green-blind)
#1D72D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4874db;
/* rgb */ color: rgb(72, 116, 219);
/* oklch */ color: oklch(58.1% 0.165 264.5);
Tailwind
colors: {
  custom: {
    50: '#8a9be7',
    500: '#4874db',
    950: '#000000',
  },
}
SCSS
$custom: #4874db;
$custom-light: #8a9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4874db",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 222.041,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.581,
    "c": 0.16485,
    "h": 264.5
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4874DB

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

Preview Lab → · Contrast checker → · Palette generator →

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