#4C7ABE#4C7ABE

#4C7ABE is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.8% C 0.117 H 258.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4C7ABE
RGBrgb(76, 122, 190)
HSLhsl(216, 47%, 52%)
HSVhsv(216, 60%, 75%)
CMYKcmyk(60%, 35.8%, 0%, 25.5%)
CIE-LABlab(50.89, 5.23, -40.40)
CIE-LCHlch(50.89, 40.73, 277.37°)
OKLaboklab(57.79% -0.0243 -0.1144)
OKLCHoklch(57.79% 0.117 258)
XYZxyz(19.2310, 19.1716, 51.3923)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7ABE #BE904C
analogous
#4CB3BE #4C7ABE #574CBE
triadic
#4C7ABE #BE4C7A #7ABE4C
tetradic
#4C7ABE #BE4CB3 #BE904C #4CBE57
square
#4C7ABE #BE4CB3 #BE904C #4CBE57
split-complementary
#4C7ABE #BE574C #B3BE4C
monochromatic
#264169 #375D96 #4C7ABE #799BCE #A6BDDF

Accessibility & contrast

On white

4.34
#4C7ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4C7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7ABE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7ABE#FFFFFF#000000##000000
##4C7ABE1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC1
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c7abe;
/* rgb */ color: rgb(76, 122, 190);
/* oklch */ color: oklch(57.8% 0.117 258.0);
Tailwind
colors: {
  custom: {
    50: '#87a0d2',
    500: '#4c7abe',
    950: '#000000',
  },
}
SCSS
$custom: #4c7abe;
$custom-light: #87a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7abe",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 215.789,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.11694,
    "h": 258
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#4C7ABE
secondary
#CCB89A
accent
#A151D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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