#4E74DF#4E74DF

#4E74DF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.7% C 0.168 H 266.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E74DF
RGBrgb(78, 116, 223)
HSLhsl(224, 69%, 59%)
HSVhsv(224, 65%, 87%)
CMYKcmyk(65%, 48%, 0%, 12.5%)
CIE-LABlab(51.19, 20.60, -58.68)
CIE-LCHlch(51.19, 62.19, 289.34°)
OKLaboklab(58.66% -0.0102 -0.1681)
OKLCHoklch(58.66% 0.168 266.5)
XYZxyz(22.7020, 19.4361, 72.3529)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E74DF #DFB94E
analogous
#4EBDDF #4E74DF #714EDF
triadic
#4E74DF #DF4E74 #74DF4E
tetradic
#4E74DF #DF4EBD #DFB94E #4EDF71
square
#4E74DF #DF4EBD #DFB94E #4EDF71
split-complementary
#4E74DF #DF714E #BDDF4E
monochromatic
#1B3C97 #2550CB #4E74DF #829DE8 #B6C5F2

Accessibility & contrast

On white

4.30
#4E74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4E74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E74DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E74DF#FFFFFF#000000##000000
##4E74DF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#1A74DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e74df;
/* rgb */ color: rgb(78, 116, 223);
/* oklch */ color: oklch(58.7% 0.168 266.5);
Tailwind
colors: {
  custom: {
    50: '#8e9bea',
    500: '#4e74df',
    950: '#000000',
  },
}
SCSS
$custom: #4e74df;
$custom-light: #8e9bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e74df",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 224.276,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.16837,
    "h": 266.5
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#4E74DF
secondary
#E1D2A8
accent
#BE3CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E74DF

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

Preview Lab → · Contrast checker → · Palette generator →

#4E74DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva