#4E7BEA#4E7BEA

#4E7BEA is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.8% C 0.175 H 265.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E7BEA
RGBrgb(78, 123, 234)
HSLhsl(223, 79%, 61%)
HSVhsv(223, 67%, 92%)
CMYKcmyk(66.7%, 47.4%, 0%, 8.2%)
CIE-LABlab(53.73, 20.09, -60.77)
CIE-LCHlch(53.73, 64.00, 288.29°)
OKLaboklab(60.82% -0.0151 -0.1741)
OKLCHoklch(60.82% 0.175 265)
XYZxyz(25.0709, 21.7237, 80.6978)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BEA #EABD4E
analogous
#4EC9EA #4E7BEA #6F4EEA
triadic
#4E7BEA #EA4E7B #7BEA4E
tetradic
#4E7BEA #EA4EC9 #EABD4E #4EEA6F
square
#4E7BEA #EA4EC9 #EABD4E #4EEA6F
split-complementary
#4E7BEA #EA6F4E #C9EA4E
monochromatic
#143FA9 #1B54E0 #4E7BEA #85A4F0 #BBCDF7

Accessibility & contrast

On white

3.93
#4E7BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4E7BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BEA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BEA#FFFFFF#000000##000000
##4E7BEA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#1B7AE8
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7bea;
/* rgb */ color: rgb(78, 123, 234);
/* oklch */ color: oklch(60.8% 0.175 265.0);
Tailwind
colors: {
  custom: {
    50: '#8fa0f1',
    500: '#4e7bea',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bea;
$custom-light: #8fa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bea",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 222.692,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.17477,
    "h": 265
  },
  "luminance": 0.21726
}

Semantic roles & 50–950 ramp

primary
#4E7BEA
secondary
#E7D6AD
accent
#9F0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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