#4E7CCF#4E7CCF

#4E7CCF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.3% C 0.137 H 261.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E7CCF
RGBrgb(78, 124, 207)
HSLhsl(219, 57%, 56%)
HSVhsv(219, 62%, 81%)
CMYKcmyk(62.3%, 40.1%, 0%, 18.8%)
CIE-LABlab(52.44, 10.16, -47.63)
CIE-LCHlch(52.44, 48.70, 282.04°)
OKLaboklab(59.32% -0.0207 -0.1355)
OKLCHoklch(59.32% 0.137 261.3)
XYZxyz(21.6081, 20.5380, 61.8449)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CCF #CFA14E
analogous
#4EBCCF #4E7CCF #604ECF
triadic
#4E7CCF #CF4E7C #7CCF4E
tetradic
#4E7CCF #CF4EBC #CFA14E #4ECF60
square
#4E7CCF #CF4EBC #CFA14E #4ECF60
split-complementary
#4E7CCF #CF604E #BCCF4E
monochromatic
#234480 #305DB0 #4E7CCF #7EA0DC #AEC3E9

Accessibility & contrast

On white

4.11
#4E7CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E7CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CCF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CCF#FFFFFF#000000##000000
##4E7CCF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D2
Deuteranopia (green-blind)
#4578CD
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ccf;
/* rgb */ color: rgb(78, 124, 207);
/* oklch */ color: oklch(59.3% 0.137 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ba1de',
    500: '#4e7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ccf;
$custom-light: #8ba1de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ccf",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 218.605,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59316,
    "c": 0.13709,
    "h": 261.3
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#4E7CCF
secondary
#D7C4A2
accent
#AA47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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