#4E6CDB#4E6CDB

#4E6CDB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.173 H 268.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E6CDB
RGBrgb(78, 108, 219)
HSLhsl(227, 66%, 58%)
HSVhsv(227, 64%, 86%)
CMYKcmyk(64.4%, 50.7%, 0%, 14.1%)
CIE-LABlab(48.83, 24.19, -60.22)
CIE-LCHlch(48.83, 64.90, 291.89°)
OKLaboklab(56.78% -0.0032 -0.1727)
OKLCHoklch(56.78% 0.173 268.9)
XYZxyz(21.2863, 17.4574, 69.2519)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CDB #DBBD4E
analogous
#4EB2DB #4E6CDB #764EDB
triadic
#4E6CDB #DB4E6C #6CDB4E
tetradic
#4E6CDB #DB4EB2 #DBBD4E #4EDB76
square
#4E6CDB #DB4EB2 #DBBD4E #4EDB76
split-complementary
#4E6CDB #DB764E #B2DB4E
monochromatic
#1E3691 #2849C4 #4E6CDB #8196E5 #B4C0F0

Accessibility & contrast

On white

4.68
#4E6CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E6CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CDB#FFFFFF#000000##FFFFFF
##4E6CDB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e6cdb;
/* rgb */ color: rgb(78, 108, 219);
/* oklch */ color: oklch(56.8% 0.173 268.9);
Tailwind
colors: {
  custom: {
    50: '#8d95e7',
    500: '#4e6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4e6cdb;
$custom-light: #8d95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6cdb",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 227.234,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.17274,
    "h": 268.9
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#4E6CDB
secondary
#DED3A6
accent
#C53FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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