#4E6FD4#4E6FD4

#4E6FD4 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.159 H 267.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4E6FD4
RGBrgb(78, 111, 212)
HSLhsl(225, 61%, 57%)
HSVhsv(225, 63%, 83%)
CMYKcmyk(63.2%, 47.6%, 0%, 16.9%)
CIE-LABlab(49.18, 19.91, -55.68)
CIE-LCHlch(49.18, 59.14, 289.67°)
OKLaboklab(56.9% -0.0068 -0.1593)
OKLCHoklch(56.9% 0.159 267.5)
XYZxyz(20.7059, 17.7402, 64.6076)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FD4 #D4B34E
analogous
#4EB2D4 #4E6FD4 #704ED4
triadic
#4E6FD4 #D44E6F #6FD44E
tetradic
#4E6FD4 #D44EB2 #D4B34E #4ED470
square
#4E6FD4 #D44EB2 #D4B34E #4ED470
split-complementary
#4E6FD4 #D4704E #B2D44E
monochromatic
#213A87 #2D4FB8 #4E6FD4 #7F97E0 #B0BFEC

Accessibility & contrast

On white

4.62
#4E6FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4E6FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6FD4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FD4#FFFFFF#000000##FFFFFF
##4E6FD41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B7BD8
Deuteranopia (green-blind)
#206FD2
Tritanopia (blue-blind)
#008697
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e6fd4;
/* rgb */ color: rgb(78, 111, 212);
/* oklch */ color: oklch(56.9% 0.159 267.5);
Tailwind
colors: {
  custom: {
    50: '#8c97e2',
    500: '#4e6fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fd4;
$custom-light: #8c97e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fd4",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 225.224,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.15948,
    "h": 267.5
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#4E6FD4
secondary
#DACDA4
accent
#BD44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E6FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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