#4E68B3#4E68B3

#4E68B3 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.3% C 0.122 H 267.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4E68B3
RGBrgb(78, 104, 179)
HSLhsl(225, 40%, 50%)
HSVhsv(225, 56%, 70%)
CMYKcmyk(56.4%, 41.9%, 0%, 29.8%)
CIE-LABlab(45.32, 13.05, -42.84)
CIE-LCHlch(45.32, 44.79, 286.94°)
OKLaboklab(53.32% -0.0048 -0.1217)
OKLCHoklch(53.32% 0.122 267.7)
XYZxyz(16.2262, 14.7738, 44.6356)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68B3 #B3994E
analogous
#4E9BB3 #4E68B3 #664EB3
triadic
#4E68B3 #B34E68 #68B34E
tetradic
#4E68B3 #B34E9B #B3994E #4EB366
square
#4E68B3 #B34E9B #B3994E #4EB366
split-complementary
#4E68B3 #B3664E #9BB34E
monochromatic
#28365E #3B4F89 #4E68B3 #798DC5 #A4B1D8

Accessibility & contrast

On white

5.31
#4E68B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E68B3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68B3#FFFFFF#000000##FFFFFF
##4E68B31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#3B67B1
Tritanopia (blue-blind)
#0E7885
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e68b3;
/* rgb */ color: rgb(78, 104, 179);
/* oklch */ color: oklch(53.3% 0.122 267.7);
Tailwind
colors: {
  custom: {
    50: '#8792ca',
    500: '#4e68b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e68b3;
$custom-light: #8792ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68b3",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 179
  },
  "hsl": {
    "h": 224.554,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.1218,
    "h": 267.7
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#4E68B3
secondary
#C5B998
accent
#B158D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0D13
muted
#7D7D82

Preview Lab

Preview with #4E68B3

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

Preview Lab → · Contrast checker → · Palette generator →

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