#4E7BD1#4E7BD1

#4E7BD1 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.141 H 262.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7BD1
RGBrgb(78, 123, 209)
HSLhsl(219, 59%, 56%)
HSVhsv(219, 63%, 82%)
CMYKcmyk(62.7%, 41.1%, 0%, 18%)
CIE-LABlab(52.27, 11.46, -49.03)
CIE-LCHlch(52.27, 50.35, 283.15°)
OKLaboklab(59.22% -0.0193 -0.1396)
OKLCHoklch(59.22% 0.141 262.1)
XYZxyz(21.7294, 20.3871, 63.0992)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BD1 #D1A44E
analogous
#4EBDD1 #4E7BD1 #634ED1
triadic
#4E7BD1 #D14E7B #7BD14E
tetradic
#4E7BD1 #D14EBD #D1A44E #4ED163
square
#4E7BD1 #D14EBD #D1A44E #4ED163
split-complementary
#4E7BD1 #D1634E #BDD14E
monochromatic
#224383 #2F5CB3 #4E7BD1 #7F9FDE #AFC3EA

Accessibility & contrast

On white

4.14
#4E7BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4E7BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BD1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BD1#FFFFFF#000000##000000
##4E7BD11.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5483D4
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7bd1;
/* rgb */ color: rgb(78, 123, 209);
/* oklch */ color: oklch(59.2% 0.141 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ba0df',
    500: '#4e7bd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bd1;
$custom-light: #8ba0df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bd1",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 209
  },
  "hsl": {
    "h": 219.389,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.14097,
    "h": 262.1
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#4E7BD1
secondary
#D8C6A2
accent
#AC46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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