#4E7BC9#4E7BC9

#4E7BC9 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.130 H 260.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4E7BC9
RGBrgb(78, 123, 201)
HSLhsl(218, 53%, 55%)
HSVhsv(218, 61%, 79%)
CMYKcmyk(61.2%, 38.8%, 0%, 21.2%)
CIE-LABlab(51.84, 8.73, -45.18)
CIE-LCHlch(51.84, 46.01, 280.93°)
OKLaboklab(58.75% -0.021 -0.1283)
OKLCHoklch(58.75% 0.13 260.7)
XYZxyz(20.7638, 20.0008, 58.0133)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC9 #C99C4E
analogous
#4EB8C9 #4E7BC9 #5F4EC9
triadic
#4E7BC9 #C94E7B #7BC94E
tetradic
#4E7BC9 #C94EB8 #C99C4E #4EC95F
square
#4E7BC9 #C94EB8 #C99C4E #4EC95F
split-complementary
#4E7BC9 #C95F4E #B8C94E
monochromatic
#254378 #335DA7 #4E7BC9 #7D9ED7 #ACC1E6

Accessibility & contrast

On white

4.20
#4E7BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4E7BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC9#FFFFFF#000000##000000
##4E7BC91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CC
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7bc9;
/* rgb */ color: rgb(78, 123, 201);
/* oklch */ color: oklch(58.7% 0.130 260.7);
Tailwind
colors: {
  custom: {
    50: '#8aa0da',
    500: '#4e7bc9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc9;
$custom-light: #8aa0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc9",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 218.049,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.13003,
    "h": 260.7
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#4E7BC9
secondary
#D3C09F
accent
#A74BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4E7BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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