#4C7DCB#4C7DCB

#4C7DCB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.131 H 259.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4C7DCB
RGBrgb(76, 125, 203)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 63%, 80%)
CMYKcmyk(62.6%, 38.4%, 0%, 20.4%)
CIE-LABlab(52.41, 7.82, -45.41)
CIE-LCHlch(52.41, 46.08, 279.77°)
OKLaboklab(59.2% -0.0243 -0.129)
OKLCHoklch(59.2% 0.131 259.3)
XYZxyz(21.0898, 20.5136, 59.3364)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7DCB #CB9A4C
analogous
#4CBDCB #4C7DCB #5A4CCB
triadic
#4C7DCB #CB4C7D #7DCB4C
tetradic
#4C7DCB #CB4CBD #CB9A4C #4CCB5A
square
#4C7DCB #CB4CBD #CB9A4C #4CCB5A
split-complementary
#4C7DCB #CB5A4C #BDCB4C
monochromatic
#234479 #315FA9 #4C7DCB #7B9FD9 #ABC2E7

Accessibility & contrast

On white

4.12
#4C7DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4C7DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7DCB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7DCB#FFFFFF#000000##000000
##4C7DCB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CE
Deuteranopia (green-blind)
#4978C9
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7dcb;
/* rgb */ color: rgb(76, 125, 203);
/* oklch */ color: oklch(59.2% 0.131 259.3);
Tailwind
colors: {
  custom: {
    50: '#89a2db',
    500: '#4c7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #4c7dcb;
$custom-light: #89a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7dcb",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 216.85,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.592,
    "c": 0.13129,
    "h": 259.3
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#4C7DCB
secondary
#D4C09F
accent
#A549DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4C7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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