#4E5FB9#4E5FB9

#4E5FB9 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.142 H 272.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E5FB9
RGBrgb(78, 95, 185)
HSLhsl(230, 43%, 52%)
HSVhsv(230, 58%, 73%)
CMYKcmyk(57.8%, 48.6%, 0%, 27.5%)
CIE-LABlab(43.22, 20.75, -49.70)
CIE-LCHlch(43.22, 53.86, 292.66°)
OKLaboklab(51.83% 0.0062 -0.1419)
OKLCHoklch(51.83% 0.142 272.5)
XYZxyz(15.9882, 13.3057, 47.6153)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB9 #B9A84E
analogous
#4E95B9 #4E5FB9 #734EB9
triadic
#4E5FB9 #B94E5F #5FB94E
tetradic
#4E5FB9 #B94E95 #B9A84E #4EB973
square
#4E5FB9 #B94E95 #B9A84E #4EB973
split-complementary
#4E5FB9 #B9734E #95B94E
monochromatic
#283265 #394791 #4E5FB9 #7A87CA #A6AEDC

Accessibility & contrast

On white

5.74
#4E5FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E5FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FB9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB9#FFFFFF#000000##FFFFFF
##4E5FB91.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336BBC
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5fb9;
/* rgb */ color: rgb(78, 95, 185);
/* oklch */ color: oklch(51.8% 0.142 272.5);
Tailwind
colors: {
  custom: {
    50: '#888cce',
    500: '#4e5fb9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb9;
$custom-light: #888cce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb9",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 230.467,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.14207,
    "h": 272.5
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#4E5FB9
secondary
#C9C19A
accent
#BF55D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4E5FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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