#4E6DB7#4E6DB7

#4E6DB7 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.121 H 265.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E6DB7
RGBrgb(78, 109, 183)
HSLhsl(222, 42%, 51%)
HSVhsv(222, 57%, 72%)
CMYKcmyk(57.4%, 40.4%, 0%, 28.2%)
CIE-LABlab(46.94, 11.27, -42.60)
CIE-LCHlch(46.94, 44.06, 284.82°)
OKLaboklab(54.64% -0.0096 -0.1209)
OKLCHoklch(54.64% 0.121 265.4)
XYZxyz(17.1549, 15.9745, 46.9699)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6DB7 #B7984E
analogous
#4EA1B7 #4E6DB7 #634EB7
triadic
#4E6DB7 #B74E6D #6DB74E
tetradic
#4E6DB7 #B74EA1 #B7984E #4EB763
square
#4E6DB7 #B74EA1 #B7984E #4EB763
split-complementary
#4E6DB7 #B7634E #A1B74E
monochromatic
#283963 #3A538E #4E6DB7 #7A91C9 #A5B5DA

Accessibility & contrast

On white

5.01
#4E6DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4E6DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6DB7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6DB7#FFFFFF#000000##FFFFFF
##4E6DB71.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74BA
Deuteranopia (green-blind)
#406BB5
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6db7;
/* rgb */ color: rgb(78, 109, 183);
/* oklch */ color: oklch(54.6% 0.121 265.4);
Tailwind
colors: {
  custom: {
    50: '#8896cd',
    500: '#4e6db7',
    950: '#000000',
  },
}
SCSS
$custom: #4e6db7;
$custom-light: #8896cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6db7",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 222.286,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.12132,
    "h": 265.4
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#4E6DB7
secondary
#C8BA99
accent
#AD56D2
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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