#4874DD#4874DD

#4874DD is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.168 H 264.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4874DD
RGBrgb(72, 116, 221)
HSLhsl(222, 69%, 57%)
HSVhsv(222, 67%, 87%)
CMYKcmyk(67.4%, 47.5%, 0%, 13.3%)
CIE-LABlab(50.79, 18.95, -58.21)
CIE-LCHlch(50.79, 61.22, 288.03°)
OKLaboklab(58.23% -0.0157 -0.1668)
OKLCHoklch(58.23% 0.168 264.6)
XYZxyz(21.9645, 19.0868, 70.9192)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874DD #DDB148
analogous
#48BEDD #4874DD #6748DD
triadic
#4874DD #DD4874 #74DD48
tetradic
#4874DD #DD48BE #DDB148 #48DD67
square
#4874DD #DD48BE #DDB148 #48DD67
split-complementary
#4874DD #DD6748 #BEDD48
monochromatic
#1B3D90 #2453C3 #4874DD #7C9BE7 #AFC2F0

Accessibility & contrast

On white

4.36
#4874DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4874DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874DD#FFFFFF#000000##000000
##4874DD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#1873DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4874dd;
/* rgb */ color: rgb(72, 116, 221);
/* oklch */ color: oklch(58.2% 0.168 264.6);
Tailwind
colors: {
  custom: {
    50: '#8b9be8',
    500: '#4874dd',
    950: '#000000',
  },
}
SCSS
$custom: #4874dd;
$custom-light: #8b9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4874dd",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 222.282,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.16755,
    "h": 264.6
  },
  "luminance": 0.19089
}

Semantic roles & 50–950 ramp

primary
#4874DD
secondary
#DECDA2
accent
#B83CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4874DD

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

Preview Lab → · Contrast checker → · Palette generator →

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