#4C7BD6#4C7BD6

#4C7BD6 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.148 H 262.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4C7BD6
RGBrgb(76, 123, 214)
HSLhsl(220, 63%, 57%)
HSVhsv(220, 64%, 84%)
CMYKcmyk(64.5%, 42.5%, 0%, 16.1%)
CIE-LABlab(52.46, 12.82, -51.57)
CIE-LCHlch(52.46, 53.14, 283.96°)
OKLaboklab(59.43% -0.02 -0.1471)
OKLCHoklch(59.43% 0.148 262.2)
XYZxyz(22.1968, 20.5554, 66.4031)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BD6 #D6A74C
analogous
#4CC0D6 #4C7BD6 #624CD6
triadic
#4C7BD6 #D64C7B #7BD64C
tetradic
#4C7BD6 #D64CC0 #D6A74C #4CD662
square
#4C7BD6 #D64CC0 #D6A74C #4CD662
split-complementary
#4C7BD6 #D6624C #C0D64C
monochromatic
#1F4388 #2B5CBA #4C7BD6 #7EA0E1 #B0C4ED

Accessibility & contrast

On white

4.11
#4C7BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4C7BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BD6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BD6#FFFFFF#000000##000000
##4C7BD61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5184DA
Deuteranopia (green-blind)
#3B77D4
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7bd6;
/* rgb */ color: rgb(76, 123, 214);
/* oklch */ color: oklch(59.4% 0.148 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ba0e3',
    500: '#4c7bd6',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bd6;
$custom-light: #8ba0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bd6",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 219.565,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.14848,
    "h": 262.2
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#4C7BD6
secondary
#DBC8A3
accent
#AE42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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