#4E7BCA#4E7BCA

#4E7BCA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.8% C 0.131 H 260.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E7BCA
RGBrgb(78, 123, 202)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 61%, 79%)
CMYKcmyk(61.4%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.89, 9.07, -45.66)
CIE-LCHlch(51.89, 46.55, 281.23°)
OKLaboklab(58.8% -0.0208 -0.1297)
OKLCHoklch(58.8% 0.131 260.9)
XYZxyz(20.8818, 20.0480, 58.6349)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BCA #CA9D4E
analogous
#4EB9CA #4E7BCA #5F4ECA
triadic
#4E7BCA #CA4E7B #7BCA4E
tetradic
#4E7BCA #CA4EB9 #CA9D4E #4ECA5F
square
#4E7BCA #CA4EB9 #CA9D4E #4ECA5F
split-complementary
#4E7BCA #CA5F4E #B9CA4E
monochromatic
#244379 #325DA8 #4E7BCA #7D9ED8 #ACC1E6

Accessibility & contrast

On white

4.19
#4E7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4E7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BCA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BCA#FFFFFF#000000##000000
##4E7BCA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4776C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7bca;
/* rgb */ color: rgb(78, 123, 202);
/* oklch */ color: oklch(58.8% 0.131 260.9);
Tailwind
colors: {
  custom: {
    50: '#8aa0da',
    500: '#4e7bca',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bca;
$custom-light: #8aa0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bca",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 218.226,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.1314,
    "h": 260.9
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#4E7BCA
secondary
#D4C1A0
accent
#A84BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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