#4C7BCF#4C7BCF

#4C7BCF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.139 H 261.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4C7BCF
RGBrgb(76, 123, 207)
HSLhsl(218, 58%, 55%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(63.3%, 40.6%, 0%, 18.8%)
CIE-LABlab(52.07, 10.41, -48.23)
CIE-LCHlch(52.07, 49.34, 282.18°)
OKLaboklab(59% -0.0214 -0.1373)
OKLCHoklch(59% 0.139 261.1)
XYZxyz(21.3220, 20.2054, 61.7958)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BCF #CFA04C
analogous
#4CBDCF #4C7BCF #5E4CCF
triadic
#4C7BCF #CF4C7B #7BCF4C
tetradic
#4C7BCF #CF4CBD #CFA04C #4CCF5E
square
#4C7BCF #CF4CBD #CFA04C #4CCF5E
split-complementary
#4C7BCF #CF5E4C #BDCF4C
monochromatic
#22437F #2F5DAF #4C7BCF #7C9FDC #ADC2E9

Accessibility & contrast

On white

4.17
#4C7BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4C7BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BCF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BCF#FFFFFF#000000##000000
##4C7BCF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D2
Deuteranopia (green-blind)
#4277CD
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c7bcf;
/* rgb */ color: rgb(76, 123, 207);
/* oklch */ color: oklch(59.0% 0.139 261.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0de',
    500: '#4c7bcf',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bcf;
$custom-light: #8aa0de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bcf",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 207
  },
  "hsl": {
    "h": 218.473,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.13897,
    "h": 261.1
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#4C7BCF
secondary
#D7C3A0
accent
#AA47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C7BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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