#4874DF#4874DF

#4874DF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.170 H 264.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4874DF
RGBrgb(72, 116, 223)
HSLhsl(223, 70%, 58%)
HSVhsv(223, 68%, 87%)
CMYKcmyk(67.7%, 48%, 0%, 12.5%)
CIE-LABlab(50.91, 19.65, -59.14)
CIE-LCHlch(50.91, 62.32, 288.38°)
OKLaboklab(58.37% -0.0154 -0.1695)
OKLCHoklch(58.37% 0.17 264.8)
XYZxyz(22.2325, 19.1940, 72.3309)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874DF #DFB348
analogous
#48BFDF #4874DF #6848DF
triadic
#4874DF #DF4874 #74DF48
tetradic
#4874DF #DF48BF #DFB348 #48DF68
square
#4874DF #DF48BF #DFB348 #48DF68
split-complementary
#4874DF #DF6848 #BFDF48
monochromatic
#1A3D93 #2353C7 #4874DF #7C9CE8 #B0C3F1

Accessibility & contrast

On white

4.34
#4874DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4874DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874DF#FFFFFF#000000##000000
##4874DF1.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)
#3A81E3
Deuteranopia (green-blind)
#1273DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4874df;
/* rgb */ color: rgb(72, 116, 223);
/* oklch */ color: oklch(58.4% 0.170 264.8);
Tailwind
colors: {
  custom: {
    50: '#8b9bea',
    500: '#4874df',
    950: '#000000',
  },
}
SCSS
$custom: #4874df;
$custom-light: #8b9bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4874df",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 222.517,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.17025,
    "h": 264.8
  },
  "luminance": 0.19196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4874DF

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

Preview Lab → · Contrast checker → · Palette generator →

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