#4E5FCA#4E5FCA

#4E5FCA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.166 H 272.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4E5FCA
RGBrgb(78, 95, 202)
HSLhsl(232, 54%, 55%)
HSVhsv(232, 61%, 79%)
CMYKcmyk(61.4%, 53%, 0%, 20.8%)
CIE-LABlab(44.33, 26.51, -57.77)
CIE-LCHlch(44.33, 63.57, 294.65°)
OKLaboklab(53.02% 0.0077 -0.1657)
OKLCHoklch(53.02% 0.166 272.7)
XYZxyz(17.8912, 14.0669, 57.6380)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FCA #CAB94E
analogous
#4E9DCA #4E5FCA #7B4ECA
triadic
#4E5FCA #CA4E5F #5FCA4E
tetradic
#4E5FCA #CA4E9D #CAB94E #4ECA7B
square
#4E5FCA #CA4E9D #CAB94E #4ECA7B
split-complementary
#4E5FCA #CA7B4E #9DCA4E
monochromatic
#243079 #3243A8 #4E5FCA #7D8AD8 #ACB4E6

Accessibility & contrast

On white

5.51
#4E5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4E5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FCA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FCA#FFFFFF#000000##FFFFFF
##4E5FCA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e5fca;
/* rgb */ color: rgb(78, 95, 202);
/* oklch */ color: oklch(53.0% 0.166 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b8cdb',
    500: '#4e5fca',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fca;
$custom-light: #8b8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fca",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 231.774,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.16586,
    "h": 272.7
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#4E5FCA
secondary
#D4CDA0
accent
#C94BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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