#4C7BBD#4C7BBD

#4C7BBD is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.0% C 0.115 H 257.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C7BBD
RGBrgb(76, 123, 189)
HSLhsl(215, 46%, 52%)
HSVhsv(215, 60%, 74%)
CMYKcmyk(59.8%, 34.9%, 0%, 25.9%)
CIE-LABlab(51.12, 4.28, -39.45)
CIE-LCHlch(51.12, 39.68, 276.20°)
OKLaboklab(57.96% -0.0256 -0.1116)
OKLCHoklch(57.96% 0.115 257.1)
XYZxyz(19.2455, 19.3748, 50.8598)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BBD #BD8E4C
analogous
#4CB4BD #4C7BBD #564CBD
triadic
#4C7BBD #BD4C7B #7BBD4C
tetradic
#4C7BBD #BD4CB4 #BD8E4C #4CBD56
square
#4C7BBD #BD4CB4 #BD8E4C #4CBD56
split-complementary
#4C7BBD #BD564C #B4BD4C
monochromatic
#264268 #375E95 #4C7BBD #799CCD #A5BDDE

Accessibility & contrast

On white

4.31
#4C7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4C7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7BBD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7BBD#FFFFFF#000000##000000
##4C7BBD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C0
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c7bbd;
/* rgb */ color: rgb(76, 123, 189);
/* oklch */ color: oklch(58.0% 0.115 257.1);
Tailwind
colors: {
  custom: {
    50: '#87a0d1',
    500: '#4c7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bbd;
$custom-light: #87a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bbd",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 215.044,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.11453,
    "h": 257.1
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#4C7BBD
secondary
#CBB79A
accent
#9F52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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