#4C7CD9#4C7CD9

#4C7CD9 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.151 H 262.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C7CD9
RGBrgb(76, 124, 217)
HSLhsl(220, 65%, 57%)
HSVhsv(220, 65%, 85%)
CMYKcmyk(65%, 42.9%, 0%, 14.9%)
CIE-LABlab(52.91, 13.25, -52.55)
CIE-LCHlch(52.91, 54.20, 284.15°)
OKLaboklab(59.83% -0.0204 -0.15)
OKLCHoklch(59.83% 0.151 262.2)
XYZxyz(22.7081, 20.9594, 68.4810)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CD9 #D9A94C
analogous
#4CC3D9 #4C7CD9 #624CD9
triadic
#4C7CD9 #D94C7C #7CD94C
tetradic
#4C7CD9 #D94CC3 #D9A94C #4CD962
square
#4C7CD9 #D94CC3 #D9A94C #4CD962
split-complementary
#4C7CD9 #D9624C #C3D94C
monochromatic
#1E448D #295CBF #4C7CD9 #7EA1E4 #B1C6EE

Accessibility & contrast

On white

4.04
#4C7CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C7CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CD9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CD9#FFFFFF#000000##000000
##4C7CD91.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DD
Deuteranopia (green-blind)
#3A78D7
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7cd9;
/* rgb */ color: rgb(76, 124, 217);
/* oklch */ color: oklch(59.8% 0.151 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ca1e5',
    500: '#4c7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cd9;
$custom-light: #8ca1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cd9",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 219.574,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.15138,
    "h": 262.2
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#4C7CD9
secondary
#DDC9A4
accent
#AF40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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