#4E5CAB#4E5CAB

#4E5CAB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.126 H 273.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4E5CAB
RGBrgb(78, 92, 171)
HSLhsl(231, 37%, 49%)
HSVhsv(231, 54%, 67%)
CMYKcmyk(54.4%, 46.2%, 0%, 32.9%)
CIE-LABlab(41.55, 17.96, -44.16)
CIE-LCHlch(41.55, 47.67, 292.14°)
OKLaboklab(50.29% 0.0076 -0.1257)
OKLCHoklch(50.29% 0.126 273.5)
XYZxyz(14.3173, 12.2133, 40.1231)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CAB #AB9D4E
analogous
#4E8BAB #4E5CAB #6F4EAB
triadic
#4E5CAB #AB4E5C #5CAB4E
tetradic
#4E5CAB #AB4E8B #AB9D4E #4EAB6F
square
#4E5CAB #AB4E8B #AB9D4E #4EAB6F
split-complementary
#4E5CAB #AB6F4E #8BAB4E
monochromatic
#282F57 #3B4581 #4E5CAB #7681C0 #A0A8D4

Accessibility & contrast

On white

6.10
#4E5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E5CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CAB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CAB#FFFFFF#000000##FFFFFF
##4E5CAB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AE
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#206D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5cab;
/* rgb */ color: rgb(78, 92, 171);
/* oklch */ color: oklch(50.3% 0.126 273.5);
Tailwind
colors: {
  custom: {
    50: '#8689c4',
    500: '#4e5cab',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cab;
$custom-light: #8689c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cab",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 230.968,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.12591,
    "h": 273.5
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#4E5CAB
secondary
#C1BA94
accent
#BC5ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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