#4C7FCB#4C7FCB

#4C7FCB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.129 H 258.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4C7FCB
RGBrgb(76, 127, 203)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 63%, 80%)
CMYKcmyk(62.6%, 37.4%, 0%, 20.4%)
CIE-LABlab(52.98, 6.61, -44.51)
CIE-LCHlch(52.98, 45.00, 278.44°)
OKLaboklab(59.64% -0.0264 -0.1264)
OKLCHoklch(59.64% 0.129 258.2)
XYZxyz(21.3455, 21.0251, 59.4217)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7FCB #CB984C
analogous
#4CBECB #4C7FCB #594CCB
triadic
#4C7FCB #CB4C7F #7FCB4C
tetradic
#4C7FCB #CB4CBE #CB984C #4CCB59
square
#4C7FCB #CB4CBE #CB984C #4CCB59
split-complementary
#4C7FCB #CB594C #BECB4C
monochromatic
#234679 #3161A9 #4C7FCB #7BA1D9 #ABC3E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7FCB#FFFFFF#000000##000000
##4C7FCB1.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)
#5E85CE
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c7fcb;
/* rgb */ color: rgb(76, 127, 203);
/* oklch */ color: oklch(59.6% 0.129 258.2);
Tailwind
colors: {
  custom: {
    50: '#89a3db',
    500: '#4c7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4c7fcb;
$custom-light: #89a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7fcb",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 215.906,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59639,
    "c": 0.12911,
    "h": 258.2
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#4C7FCB
secondary
#D4BF9F
accent
#A349DE
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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