#4E7CDB#4E7CDB

#4E7CDB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.153 H 263.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E7CDB
RGBrgb(78, 124, 219)
HSLhsl(220, 66%, 58%)
HSVhsv(220, 64%, 86%)
CMYKcmyk(64.4%, 43.4%, 0%, 14.1%)
CIE-LABlab(53.11, 14.28, -53.35)
CIE-LCHlch(53.11, 55.23, 284.99°)
OKLaboklab(60.05% -0.0184 -0.1523)
OKLCHoklch(60.05% 0.153 263.1)
XYZxyz(23.1312, 21.1473, 69.8669)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CDB #DBAD4E
analogous
#4EC2DB #4E7CDB #674EDB
triadic
#4E7CDB #DB4E7C #7CDB4E
tetradic
#4E7CDB #DB4EC2 #DBAD4E #4EDB67
square
#4E7CDB #DB4EC2 #DBAD4E #4EDB67
split-complementary
#4E7CDB #DB674E #C2DB4E
monochromatic
#1E4391 #285BC4 #4E7CDB #81A2E5 #B4C7F0

Accessibility & contrast

On white

4.02
#4E7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4E7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CDB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CDB#FFFFFF#000000##000000
##4E7CDB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7cdb;
/* rgb */ color: rgb(78, 124, 219);
/* oklch */ color: oklch(60.1% 0.153 263.1);
Tailwind
colors: {
  custom: {
    50: '#8da1e7',
    500: '#4e7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cdb;
$custom-light: #8da1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cdb",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 220.426,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.1534,
    "h": 263.1
  },
  "luminance": 0.21149
}

Semantic roles & 50–950 ramp

primary
#4E7CDB
secondary
#DECCA6
accent
#B23FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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