#4E68B2#4E68B2

#4E68B2 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.3% C 0.120 H 267.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E68B2
RGBrgb(78, 104, 178)
HSLhsl(224, 39%, 50%)
HSVhsv(224, 56%, 70%)
CMYKcmyk(56.2%, 41.6%, 0%, 30.2%)
CIE-LABlab(45.27, 12.71, -42.35)
CIE-LCHlch(45.27, 44.22, 286.71°)
OKLaboklab(53.26% -0.005 -0.1203)
OKLCHoklch(53.26% 0.12 267.6)
XYZxyz(16.1254, 14.7335, 44.1049)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68B2 #B2984E
analogous
#4E9AB2 #4E68B2 #664EB2
triadic
#4E68B2 #B24E68 #68B24E
tetradic
#4E68B2 #B24E9A #B2984E #4EB266
square
#4E68B2 #B24E9A #B2984E #4EB266
split-complementary
#4E68B2 #B2664E #9AB24E
monochromatic
#29365D #3B4F88 #4E68B2 #798CC5 #A3B1D7

Accessibility & contrast

On white

5.32
#4E68B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4E68B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68B2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68B2#FFFFFF#000000##FFFFFF
##4E68B21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#117884
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e68b2;
/* rgb */ color: rgb(78, 104, 178);
/* oklch */ color: oklch(53.3% 0.120 267.6);
Tailwind
colors: {
  custom: {
    50: '#8792c9',
    500: '#4e68b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e68b2;
$custom-light: #8792c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68b2",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 224.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.12036,
    "h": 267.6
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#4E68B2
secondary
#C4B998
accent
#B059CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0D13
muted
#7D7D82

Preview Lab

Preview with #4E68B2

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

Preview Lab → · Contrast checker → · Palette generator →

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