#4C7BE4#4C7BE4

#4C7BE4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.167 H 263.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4C7BE4
RGBrgb(76, 123, 228)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 67%, 89%)
CMYKcmyk(66.7%, 46.1%, 0%, 10.6%)
CIE-LABlab(53.28, 17.69, -58.14)
CIE-LCHlch(53.28, 60.77, 286.92°)
OKLaboklab(60.33% -0.0177 -0.1664)
OKLCHoklch(60.33% 0.167 263.9)
XYZxyz(24.0621, 21.3015, 76.2273)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BE4 #E4B54C
analogous
#4CC7E4 #4C7BE4 #694CE4
triadic
#4C7BE4 #E44C7B #7BE44C
tetradic
#4C7BE4 #E44CC7 #E4B54C #4CE469
square
#4C7BE4 #E44CC7 #E4B54C #4CE469
split-complementary
#4C7BE4 #E4694C #C7E44C
monochromatic
#18419E #2057D3 #4C7BE4 #81A2EC #B6C9F4

Accessibility & contrast

On white

3.99
#4C7BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4C7BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BE4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BE4#FFFFFF#000000##000000
##4C7BE41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4687E8
Deuteranopia (green-blind)
#2779E2
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7be4;
/* rgb */ color: rgb(76, 123, 228);
/* oklch */ color: oklch(60.3% 0.167 263.9);
Tailwind
colors: {
  custom: {
    50: '#8ea0ed',
    500: '#4c7be4',
    950: '#000000',
  },
}
SCSS
$custom: #4c7be4;
$custom-light: #8ea0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7be4",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 221.447,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.16737,
    "h": 263.9
  },
  "luminance": 0.21304
}

Semantic roles & 50–950 ramp

primary
#4C7BE4
secondary
#E3D1A8
accent
#B737F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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