#4E6FCA#4E6FCA

#4E6FCA is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.146 H 266.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E6FCA
RGBrgb(78, 111, 202)
HSLhsl(224, 54%, 55%)
HSVhsv(224, 61%, 79%)
CMYKcmyk(61.4%, 45%, 0%, 20.8%)
CIE-LABlab(48.58, 16.47, -50.95)
CIE-LCHlch(48.58, 53.54, 287.92°)
OKLaboklab(56.25% -0.0083 -0.1454)
OKLCHoklch(56.25% 0.146 266.7)
XYZxyz(19.4834, 17.2512, 58.1687)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FCA #CAA94E
analogous
#4EADCA #4E6FCA #6B4ECA
triadic
#4E6FCA #CA4E6F #6FCA4E
tetradic
#4E6FCA #CA4EAD #CAA94E #4ECA6B
square
#4E6FCA #CA4EAD #CAA94E #4ECA6B
split-complementary
#4E6FCA #CA6B4E #ADCA4E
monochromatic
#243B79 #3252A8 #4E6FCA #7D95D8 #ACBCE6

Accessibility & contrast

On white

4.72
#4E6FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4E6FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6FCA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6FCA#FFFFFF#000000##FFFFFF
##4E6FCA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6fca;
/* rgb */ color: rgb(78, 111, 202);
/* oklch */ color: oklch(56.2% 0.146 266.7);
Tailwind
colors: {
  custom: {
    50: '#8a97db',
    500: '#4e6fca',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fca;
$custom-light: #8a97db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fca",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 224.032,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.14565,
    "h": 266.7
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#4E6FCA
secondary
#D4C6A0
accent
#B64BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E6FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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