#4E6CCF#4E6CCF

#4E6CCF is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.0% C 0.156 H 268.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E6CCF
RGBrgb(78, 108, 207)
HSLhsl(226, 57%, 56%)
HSVhsv(226, 62%, 81%)
CMYKcmyk(62.3%, 47.8%, 0%, 18.8%)
CIE-LABlab(48.07, 20.06, -54.62)
CIE-LCHlch(48.07, 58.19, 290.17°)
OKLaboklab(55.96% -0.0045 -0.1562)
OKLCHoklch(55.96% 0.156 268.3)
XYZxyz(19.7631, 16.8481, 61.2299)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CCF #CFB14E
analogous
#4EACCF #4E6CCF #714ECF
triadic
#4E6CCF #CF4E6C #6CCF4E
tetradic
#4E6CCF #CF4EAC #CFB14E #4ECF71
square
#4E6CCF #CF4EAC #CFB14E #4ECF71
split-complementary
#4E6CCF #CF714E #ACCF4E
monochromatic
#233880 #304EB0 #4E6CCF #7E94DC #AEBCE9

Accessibility & contrast

On white

4.81
#4E6CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E6CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6CCF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CCF#FFFFFF#000000##FFFFFF
##4E6CCF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D3
Deuteranopia (green-blind)
#206DCD
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e6ccf;
/* rgb */ color: rgb(78, 108, 207);
/* oklch */ color: oklch(56.0% 0.156 268.3);
Tailwind
colors: {
  custom: {
    50: '#8b95de',
    500: '#4e6ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ccf;
$custom-light: #8b95de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ccf",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 226.047,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.15631,
    "h": 268.3
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#4E6CCF
secondary
#D7CBA2
accent
#BD47E1
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E6CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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