#4E68B4#4E68B4

#4E68B4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.4% C 0.123 H 267.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4E68B4
RGBrgb(78, 104, 180)
HSLhsl(225, 40%, 51%)
HSVhsv(225, 57%, 71%)
CMYKcmyk(56.7%, 42.2%, 0%, 29.4%)
CIE-LABlab(45.38, 13.38, -43.34)
CIE-LCHlch(45.38, 45.36, 287.16°)
OKLaboklab(53.39% -0.0046 -0.1231)
OKLCHoklch(53.39% 0.123 267.9)
XYZxyz(16.3277, 14.8144, 45.1702)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68B4 #B49A4E
analogous
#4E9BB4 #4E68B4 #674EB4
triadic
#4E68B4 #B44E68 #68B44E
tetradic
#4E68B4 #B44E9B #B49A4E #4EB467
square
#4E68B4 #B44E9B #B49A4E #4EB467
split-complementary
#4E68B4 #B4674E #9BB44E
monochromatic
#28365F #3B4F8A #4E68B4 #798DC6 #A4B1D8

Accessibility & contrast

On white

5.30
#4E68B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4E68B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68B4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68B4#FFFFFF#000000##FFFFFF
##4E68B41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#3B67B2
Tritanopia (blue-blind)
#0B7985
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e68b4;
/* rgb */ color: rgb(78, 104, 180);
/* oklch */ color: oklch(53.4% 0.123 267.9);
Tailwind
colors: {
  custom: {
    50: '#8792cb',
    500: '#4e68b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e68b4;
$custom-light: #8792cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68b4",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 180
  },
  "hsl": {
    "h": 224.706,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53385,
    "c": 0.12324,
    "h": 267.9
  },
  "luminance": 0.14816
}

Semantic roles & 50–950 ramp

primary
#4E68B4
secondary
#C6BA98
accent
#B257D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0D13
muted
#7D7D82

Preview Lab

Preview with #4E68B4

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

Preview Lab → · Contrast checker → · Palette generator →

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