#4C7ABC#4C7ABC

#4C7ABC is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.7% C 0.114 H 257.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4C7ABC
RGBrgb(76, 122, 188)
HSLhsl(215, 46%, 52%)
HSVhsv(215, 60%, 74%)
CMYKcmyk(59.6%, 35.1%, 0%, 26.3%)
CIE-LABlab(50.79, 4.55, -39.41)
CIE-LCHlch(50.79, 39.67, 276.59°)
OKLaboklab(57.68% -0.0248 -0.1115)
OKLCHoklch(57.68% 0.114 257.5)
XYZxyz(19.0139, 19.0847, 50.2489)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ABC #BC8E4C
analogous
#4CB2BC #4C7ABC #564CBC
triadic
#4C7ABC #BC4C7A #7ABC4C
tetradic
#4C7ABC #BC4CB2 #BC8E4C #4CBC56
square
#4C7ABC #BC4CB2 #BC8E4C #4CBC56
split-complementary
#4C7ABC #BC564C #B2BC4C
monochromatic
#274167 #375D94 #4C7ABC #799BCD #A5BCDD

Accessibility & contrast

On white

4.36
#4C7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4C7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ABC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ABC#FFFFFF#000000##000000
##4C7ABC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c7abc;
/* rgb */ color: rgb(76, 122, 188);
/* oklch */ color: oklch(57.7% 0.114 257.5);
Tailwind
colors: {
  custom: {
    50: '#87a0d0',
    500: '#4c7abc',
    950: '#000000',
  },
}
SCSS
$custom: #4c7abc;
$custom-light: #87a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7abc",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 215.357,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.11424,
    "h": 257.5
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#4C7ABC
secondary
#CAB699
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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