#4E68BA#4E68BA

#4E68BA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.8% C 0.132 H 268.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E68BA
RGBrgb(78, 104, 186)
HSLhsl(226, 44%, 52%)
HSVhsv(226, 58%, 73%)
CMYKcmyk(58.1%, 44.1%, 0%, 27.1%)
CIE-LABlab(45.72, 15.41, -46.28)
CIE-LCHlch(45.72, 48.78, 288.41°)
OKLaboklab(53.76% -0.0035 -0.1318)
OKLCHoklch(53.76% 0.132 268.5)
XYZxyz(16.9522, 15.0642, 48.4592)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68BA #BAA04E
analogous
#4E9EBA #4E68BA #6A4EBA
triadic
#4E68BA #BA4E68 #68BA4E
tetradic
#4E68BA #BA4E9E #BAA04E #4EBA6A
square
#4E68BA #BA4E9E #BAA04E #4EBA6A
split-complementary
#4E68BA #BA6A4E #9EBA4E
monochromatic
#283766 #394E92 #4E68BA #7A8ECB #A6B3DC

Accessibility & contrast

On white

5.23
#4E68BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4E68BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68BA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68BA#FFFFFF#000000##FFFFFF
##4E68BA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e68ba;
/* rgb */ color: rgb(78, 104, 186);
/* oklch */ color: oklch(53.8% 0.132 268.5);
Tailwind
colors: {
  custom: {
    50: '#8892cf',
    500: '#4e68ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e68ba;
$custom-light: #8892cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68ba",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 186
  },
  "hsl": {
    "h": 225.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53759,
    "c": 0.13184,
    "h": 268.5
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#4E68BA
secondary
#CABE9A
accent
#B554D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0D14
muted
#7D7D82

Preview Lab

Preview with #4E68BA

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

Preview Lab → · Contrast checker → · Palette generator →

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