#4E7BCE#4E7BCE

#4E7BCE is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.137 H 261.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E7BCE
RGBrgb(78, 123, 206)
HSLhsl(219, 57%, 56%)
HSVhsv(219, 62%, 81%)
CMYKcmyk(62.1%, 40.3%, 0%, 19.2%)
CIE-LABlab(52.11, 10.43, -47.59)
CIE-LCHlch(52.11, 48.72, 282.36°)
OKLaboklab(59.04% -0.0199 -0.1354)
OKLCHoklch(59.04% 0.137 261.6)
XYZxyz(21.3615, 20.2399, 61.1615)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BCE #CEA14E
analogous
#4EBBCE #4E7BCE #614ECE
triadic
#4E7BCE #CE4E7B #7BCE4E
tetradic
#4E7BCE #CE4EBB #CEA14E #4ECE61
square
#4E7BCE #CE4EBB #CEA14E #4ECE61
split-complementary
#4E7BCE #CE614E #BBCE4E
monochromatic
#23437F #305DAE #4E7BCE #7E9FDB #AEC2E9

Accessibility & contrast

On white

4.16
#4E7BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E7BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BCE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BCE#FFFFFF#000000##000000
##4E7BCE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D1
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7bce;
/* rgb */ color: rgb(78, 123, 206);
/* oklch */ color: oklch(59.0% 0.137 261.6);
Tailwind
colors: {
  custom: {
    50: '#8ba0dd',
    500: '#4e7bce',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bce;
$custom-light: #8ba0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bce",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 218.906,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.13686,
    "h": 261.6
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#4E7BCE
secondary
#D7C4A1
accent
#AA48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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