#4E7FC9#4E7FC9

#4E7FC9 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.126 H 258.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E7FC9
RGBrgb(78, 127, 201)
HSLhsl(216, 53%, 55%)
HSVhsv(216, 61%, 79%)
CMYKcmyk(61.2%, 36.8%, 0%, 21.2%)
CIE-LABlab(52.96, 6.30, -43.39)
CIE-LCHlch(52.96, 43.85, 278.26°)
OKLaboklab(59.62% -0.0252 -0.1231)
OKLCHoklch(59.62% 0.126 258.4)
XYZxyz(21.2701, 21.0136, 58.1821)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FC9 #C9984E
analogous
#4EBCC9 #4E7FC9 #5B4EC9
triadic
#4E7FC9 #C94E7F #7FC94E
tetradic
#4E7FC9 #C94EBC #C9984E #4EC95B
square
#4E7FC9 #C94EBC #C9984E #4EC95B
split-complementary
#4E7FC9 #C95B4E #BCC94E
monochromatic
#254678 #3361A7 #4E7FC9 #7DA1D7 #ACC3E6

Accessibility & contrast

On white

4.04
#4E7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4E7FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FC9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FC9#FFFFFF#000000##000000
##4E7FC91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CC
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7fc9;
/* rgb */ color: rgb(78, 127, 201);
/* oklch */ color: oklch(59.6% 0.126 258.4);
Tailwind
colors: {
  custom: {
    50: '#8aa3da',
    500: '#4e7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fc9;
$custom-light: #8aa3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fc9",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 216.098,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.12563,
    "h": 258.4
  },
  "luminance": 0.21015
}

Semantic roles & 50–950 ramp

primary
#4E7FC9
secondary
#D3BF9F
accent
#A34BDD
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4E7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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