#4C7ADF#4C7ADF

#4C7ADF is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.162 H 263.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4C7ADF
RGBrgb(76, 122, 223)
HSLhsl(221, 70%, 59%)
HSVhsv(221, 66%, 87%)
CMYKcmyk(65.9%, 45.3%, 0%, 12.5%)
CIE-LABlab(52.71, 16.56, -56.25)
CIE-LCHlch(52.71, 58.64, 286.41°)
OKLaboklab(59.79% -0.0175 -0.1609)
OKLCHoklch(59.79% 0.162 263.8)
XYZxyz(23.2546, 20.7810, 72.5833)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ADF #DFB14C
analogous
#4CC4DF #4C7ADF #674CDF
triadic
#4C7ADF #DF4C7A #7ADF4C
tetradic
#4C7ADF #DF4CC4 #DFB14C #4CDF67
square
#4C7ADF #DF4CC4 #DFB14C #4CDF67
split-complementary
#4C7ADF #DF674C #C4DF4C
monochromatic
#1B4196 #2458CA #4C7ADF #80A1E8 #B4C7F2

Accessibility & contrast

On white

4.07
#4C7ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4C7ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ADF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ADF#FFFFFF#000000##000000
##4C7ADF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#2D77DD
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7adf;
/* rgb */ color: rgb(76, 122, 223);
/* oklch */ color: oklch(59.8% 0.162 263.8);
Tailwind
colors: {
  custom: {
    50: '#8d9fe9',
    500: '#4c7adf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7adf;
$custom-light: #8d9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7adf",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 223
  },
  "hsl": {
    "h": 221.224,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.16182,
    "h": 263.8
  },
  "luminance": 0.20783
}

Semantic roles & 50–950 ramp

primary
#4C7ADF
secondary
#E0CEA6
accent
#B53BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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