#4C7CDB#4C7CDB

#4C7CDB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.154 H 262.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C7CDB
RGBrgb(76, 124, 219)
HSLhsl(220, 67%, 58%)
HSVhsv(220, 65%, 86%)
CMYKcmyk(65.3%, 43.4%, 0%, 14.1%)
CIE-LABlab(53.02, 13.94, -53.50)
CIE-LCHlch(53.02, 55.29, 284.61°)
OKLaboklab(59.96% -0.0201 -0.1528)
OKLCHoklch(59.96% 0.154 262.5)
XYZxyz(22.9698, 21.0641, 69.8594)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7CDB #DBAB4C
analogous
#4CC4DB #4C7CDB #634CDB
triadic
#4C7CDB #DB4C7C #7CDB4C
tetradic
#4C7CDB #DB4CC4 #DBAB4C #4CDB63
square
#4C7CDB #DB4CC4 #DBAB4C #4CDB63
split-complementary
#4C7CDB #DB634C #C4DB4C
monochromatic
#1D4390 #275BC3 #4C7CDB #7FA1E5 #B2C7EF

Accessibility & contrast

On white

4.03
#4C7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4C7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7CDB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7CDB#FFFFFF#000000##000000
##4C7CDB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c7cdb;
/* rgb */ color: rgb(76, 124, 219);
/* oklch */ color: oklch(60.0% 0.154 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ca1e7',
    500: '#4c7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4c7cdb;
$custom-light: #8ca1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7cdb",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 219.86,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.15408,
    "h": 262.5
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#4C7CDB
secondary
#DECBA5
accent
#B03EE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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