#4E5DAB#4E5DAB

#4E5DAB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.5% C 0.125 H 273.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4E5DAB
RGBrgb(78, 93, 171)
HSLhsl(230, 37%, 49%)
HSVhsv(230, 54%, 67%)
CMYKcmyk(54.4%, 45.6%, 0%, 32.9%)
CIE-LABlab(41.83, 17.33, -43.72)
CIE-LCHlch(41.83, 47.03, 291.62°)
OKLaboklab(50.5% 0.0065 -0.1244)
OKLCHoklch(50.5% 0.125 273)
XYZxyz(14.4045, 12.3877, 40.1522)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DAB #AB9C4E
analogous
#4E8CAB #4E5DAB #6E4EAB
triadic
#4E5DAB #AB4E5D #5DAB4E
tetradic
#4E5DAB #AB4E8C #AB9C4E #4EAB6E
square
#4E5DAB #AB4E8C #AB9C4E #4EAB6E
split-complementary
#4E5DAB #AB6E4E #8CAB4E
monochromatic
#282F57 #3B4681 #4E5DAB #7682C0 #A0A8D4

Accessibility & contrast

On white

6.04
#4E5DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4E5DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DAB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DAB#FFFFFF#000000##FFFFFF
##4E5DAB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#305FA9
Tritanopia (blue-blind)
#206E7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5dab;
/* rgb */ color: rgb(78, 93, 171);
/* oklch */ color: oklch(50.5% 0.125 273.0);
Tailwind
colors: {
  custom: {
    50: '#868ac4',
    500: '#4e5dab',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dab;
$custom-light: #868ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dab",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 171
  },
  "hsl": {
    "h": 230.323,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50496,
    "c": 0.12456,
    "h": 273
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#4E5DAB
secondary
#C1B994
accent
#BB5ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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