#4874EF#4874EF

#4874EF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.192 H 265.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4874EF
RGBrgb(72, 116, 239)
HSLhsl(224, 84%, 61%)
HSVhsv(224, 70%, 94%)
CMYKcmyk(69.9%, 51.5%, 0%, 6.3%)
CIE-LABlab(51.95, 25.30, -66.45)
CIE-LCHlch(51.95, 71.10, 290.84°)
OKLaboklab(59.49% -0.0136 -0.191)
OKLCHoklch(59.49% 0.192 265.9)
XYZxyz(24.4924, 20.0980, 84.2331)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4874EF #EFC348
analogous
#48C7EF #4874EF #6F48EF
triadic
#4874EF #EF4874 #74EF48
tetradic
#4874EF #EF48C7 #EFC348 #48EF6F
square
#4874EF #EF48C7 #EFC348 #48EF6F
split-complementary
#4874EF #EF6F48 #C7EF48
monochromatic
#0F39AD #144BE6 #4874EF #809FF4 #B9C9F9

Accessibility & contrast

On white

4.18
#4874EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4874EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4874EF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4874EF#FFFFFF#000000##000000
##4874EF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2384F3
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4874ef;
/* rgb */ color: rgb(72, 116, 239);
/* oklch */ color: oklch(59.5% 0.192 265.9);
Tailwind
colors: {
  custom: {
    50: '#8e9bf5',
    500: '#4874ef',
    950: '#000000',
  },
}
SCSS
$custom: #4874ef;
$custom-light: #8e9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4874ef",
  "rgb": {
    "r": 72,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 224.192,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.19153,
    "h": 265.9
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#4874EF
secondary
#E9D8AA
accent
#A705E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4874EF

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

Preview Lab → · Contrast checker → · Palette generator →

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