#4E7BCF#4E7BCF

#4E7BCF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.138 H 261.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E7BCF
RGBrgb(78, 123, 207)
HSLhsl(219, 57%, 56%)
HSVhsv(219, 62%, 81%)
CMYKcmyk(62.3%, 40.6%, 0%, 18.8%)
CIE-LABlab(52.16, 10.77, -48.07)
CIE-LCHlch(52.16, 49.27, 282.63°)
OKLaboklab(59.1% -0.0197 -0.1368)
OKLCHoklch(59.1% 0.138 261.8)
XYZxyz(21.4834, 20.2887, 61.8033)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BCF #CFA24E
analogous
#4EBBCF #4E7BCF #614ECF
triadic
#4E7BCF #CF4E7B #7BCF4E
tetradic
#4E7BCF #CF4EBB #CFA24E #4ECF61
square
#4E7BCF #CF4EBB #CFA24E #4ECF61
split-complementary
#4E7BCF #CF614E #BBCF4E
monochromatic
#234380 #305DB0 #4E7BCF #7E9FDC #AEC3E9

Accessibility & contrast

On white

4.15
#4E7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4E7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BCF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BCF#FFFFFF#000000##000000
##4E7BCF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7bcf;
/* rgb */ color: rgb(78, 123, 207);
/* oklch */ color: oklch(59.1% 0.138 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0de',
    500: '#4e7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bcf;
$custom-light: #8ba0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bcf",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 219.07,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.13823,
    "h": 261.8
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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