#4E7BCD#4E7BCD

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

Color values

HEX#4E7BCD
RGBrgb(78, 123, 205)
HSLhsl(219, 56%, 55%)
HSVhsv(219, 62%, 80%)
CMYKcmyk(62%, 40%, 0%, 19.6%)
CIE-LABlab(52.05, 10.09, -47.11)
CIE-LCHlch(52.05, 48.18, 282.09°)
OKLaboklab(58.98% -0.0201 -0.134)
OKLCHoklch(58.98% 0.136 261.5)
XYZxyz(21.2404, 20.1915, 60.5238)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BCD #CDA04E
analogous
#4EBACD #4E7BCD #604ECD
triadic
#4E7BCD #CD4E7B #7BCD4E
tetradic
#4E7BCD #CD4EBA #CDA04E #4ECD60
square
#4E7BCD #CD4EBA #CDA04E #4ECD60
split-complementary
#4E7BCD #CD604E #BACD4E
monochromatic
#23437D #315DAD #4E7BCD #7E9FDA #ADC2E8

Accessibility & contrast

On white

4.17
#4E7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BCD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BCD#FFFFFF#000000##000000
##4E7BCD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782D0
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7bcd;
/* rgb */ color: rgb(78, 123, 205);
/* oklch */ color: oklch(59.0% 0.136 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba0dd',
    500: '#4e7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bcd;
$custom-light: #8ba0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bcd",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 218.74,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.1355,
    "h": 261.5
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#4E7BCD
secondary
#D6C3A1
accent
#AA49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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