#4E5BAF#4E5BAF

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

Color values

HEX#4E5BAF
RGBrgb(78, 91, 175)
HSLhsl(232, 38%, 50%)
HSVhsv(232, 55%, 69%)
CMYKcmyk(55.4%, 48%, 0%, 31.4%)
CIE-LABlab(41.53, 19.93, -46.56)
CIE-LCHlch(41.53, 50.65, 293.18°)
OKLaboklab(50.35% 0.0093 -0.1327)
OKLCHoklch(50.35% 0.133 274)
XYZxyz(14.6183, 12.1960, 42.1329)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5BAF #AFA24E
analogous
#4E8CAF #4E5BAF #724EAF
triadic
#4E5BAF #AF4E5B #5BAF4E
tetradic
#4E5BAF #AF4E8C #AFA24E #4EAF72
square
#4E5BAF #AF4E8C #AFA24E #4EAF72
split-complementary
#4E5BAF #AF724E #8CAF4E
monochromatic
#282F5A #3B4585 #4E5BAF #7882C3 #A2A9D6

Accessibility & contrast

On white

6.11
#4E5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5BAF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5BAF#FFFFFF#000000##FFFFFF
##4E5BAF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#1B6E7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e5baf;
/* rgb */ color: rgb(78, 91, 175);
/* oklch */ color: oklch(50.3% 0.133 274.0);
Tailwind
colors: {
  custom: {
    50: '#8789c7',
    500: '#4e5baf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5baf;
$custom-light: #8789c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5baf",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 231.959,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.13307,
    "h": 274
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#4E5BAF
secondary
#C3BD96
accent
#BF5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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