#4B7CE7#4B7CE7

#4B7CE7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.171 H 263.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4B7CE7
RGBrgb(75, 124, 231)
HSLhsl(221, 76%, 60%)
HSVhsv(221, 68%, 91%)
CMYKcmyk(67.5%, 46.3%, 0%, 9.4%)
CIE-LABlab(53.68, 17.97, -59.17)
CIE-LCHlch(53.68, 61.84, 286.89°)
OKLaboklab(60.68% -0.019 -0.1695)
OKLCHoklch(60.68% 0.171 263.6)
XYZxyz(24.5280, 21.6782, 78.4775)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7CE7 #E7B64B
analogous
#4BCAE7 #4B7CE7 #684BE7
triadic
#4B7CE7 #E74B7C #7CE74B
tetradic
#4B7CE7 #E74BCA #E7B64B #4BE768
square
#4B7CE7 #E74BCA #E7B64B #4BE768
split-complementary
#4B7CE7 #E7684B #CAE74B
monochromatic
#1642A2 #1D58D8 #4B7CE7 #81A3EE #B7CBF5

Accessibility & contrast

On white

3.94
#4B7CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4B7CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7CE7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7CE7#FFFFFF#000000##000000
##4B7CE71.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EB
Deuteranopia (green-blind)
#237AE5
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4b7ce7;
/* rgb */ color: rgb(75, 124, 231);
/* oklch */ color: oklch(60.7% 0.171 263.6);
Tailwind
colors: {
  custom: {
    50: '#8ea1ef',
    500: '#4b7ce7',
    950: '#000000',
  },
}
SCSS
$custom: #4b7ce7;
$custom-light: #8ea1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7ce7",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 221.154,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.17053,
    "h": 263.6
  },
  "luminance": 0.21681
}

Semantic roles & 50–950 ramp

primary
#4B7CE7
secondary
#E5D2A9
accent
#B735F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4B7CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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