#4E68B5#4E68B5

#4E68B5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.4% C 0.125 H 268.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E68B5
RGBrgb(78, 104, 181)
HSLhsl(225, 41%, 51%)
HSVhsv(225, 57%, 71%)
CMYKcmyk(56.9%, 42.5%, 0%, 29%)
CIE-LABlab(45.44, 13.72, -43.83)
CIE-LCHlch(45.44, 45.93, 287.38°)
OKLaboklab(53.45% -0.0044 -0.1246)
OKLCHoklch(53.45% 0.125 268)
XYZxyz(16.4299, 14.8553, 45.7087)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68B5 #B59B4E
analogous
#4E9CB5 #4E68B5 #674EB5
triadic
#4E68B5 #B54E68 #68B54E
tetradic
#4E68B5 #B54E9C #B59B4E #4EB567
square
#4E68B5 #B54E9C #B59B4E #4EB567
split-complementary
#4E68B5 #B5674E #9CB54E
monochromatic
#283660 #3A4F8B #4E68B5 #798DC7 #A4B2D9

Accessibility & contrast

On white

5.29
#4E68B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4E68B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68B5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68B5#FFFFFF#000000##FFFFFF
##4E68B51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4770B8
Deuteranopia (green-blind)
#3A67B3
Tritanopia (blue-blind)
#087986
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e68b5;
/* rgb */ color: rgb(78, 104, 181);
/* oklch */ color: oklch(53.4% 0.125 268.0);
Tailwind
colors: {
  custom: {
    50: '#8792cb',
    500: '#4e68b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e68b5;
$custom-light: #8792cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68b5",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 181
  },
  "hsl": {
    "h": 224.854,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.12468,
    "h": 268
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#4E68B5
secondary
#C6BB99
accent
#B257D1
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0D13
muted
#7D7D82

Preview Lab

Preview with #4E68B5

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

Preview Lab → · Contrast checker → · Palette generator →

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