#4C7BCB#4C7BCB

#4C7BCB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.8% C 0.134 H 260.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4C7BCB
RGBrgb(76, 123, 203)
HSLhsl(218, 55%, 55%)
HSVhsv(218, 63%, 80%)
CMYKcmyk(62.6%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.85, 9.04, -46.30)
CIE-LCHlch(51.85, 47.17, 281.04°)
OKLaboklab(58.76% -0.0223 -0.1317)
OKLCHoklch(58.76% 0.134 260.4)
XYZxyz(20.8391, 20.0123, 59.2529)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BCB #CB9C4C
analogous
#4CBBCB #4C7BCB #5D4CCB
triadic
#4C7BCB #CB4C7B #7BCB4C
tetradic
#4C7BCB #CB4CBB #CB9C4C #4CCB5D
square
#4C7BCB #CB4CBB #CB9C4C #4CCB5D
split-complementary
#4C7BCB #CB5D4C #BBCB4C
monochromatic
#234379 #315DA9 #4C7BCB #7B9ED9 #ABC1E7

Accessibility & contrast

On white

4.20
#4C7BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4C7BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BCB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BCB#FFFFFF#000000##000000
##4C7BCB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c7bcb;
/* rgb */ color: rgb(76, 123, 203);
/* oklch */ color: oklch(58.8% 0.134 260.4);
Tailwind
colors: {
  custom: {
    50: '#89a0db',
    500: '#4c7bcb',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bcb;
$custom-light: #89a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bcb",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 217.795,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58764,
    "c": 0.13353,
    "h": 260.4
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#4C7BCB
secondary
#D4C09F
accent
#A749DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C7BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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