#4C7BBE#4C7BBE

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

Color values

HEX#4C7BBE
RGBrgb(76, 123, 190)
HSLhsl(215, 47%, 52%)
HSVhsv(215, 60%, 75%)
CMYKcmyk(60%, 35.3%, 0%, 25.5%)
CIE-LABlab(51.17, 4.62, -39.95)
CIE-LCHlch(51.17, 40.21, 276.60°)
OKLaboklab(58.02% -0.0253 -0.1131)
OKLCHoklch(58.02% 0.116 257.4)
XYZxyz(19.3544, 19.4184, 51.4334)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7BBE #BE8F4C
analogous
#4CB4BE #4C7BBE #564CBE
triadic
#4C7BBE #BE4C7B #7BBE4C
tetradic
#4C7BBE #BE4CB4 #BE8F4C #4CBE56
square
#4C7BBE #BE4CB4 #BE8F4C #4CBE56
split-complementary
#4C7BBE #BE564C #B4BE4C
monochromatic
#264269 #375E96 #4C7BBE #799CCE #A6BDDF

Accessibility & contrast

On white

4.30
#4C7BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7BBE#FFFFFF#000000##000000
##4C7BBE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c7bbe;
/* rgb */ color: rgb(76, 123, 190);
/* oklch */ color: oklch(58.0% 0.116 257.4);
Tailwind
colors: {
  custom: {
    50: '#87a0d2',
    500: '#4c7bbe',
    950: '#000000',
  },
}
SCSS
$custom: #4c7bbe;
$custom-light: #87a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7bbe",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 190
  },
  "hsl": {
    "h": 215.263,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.11588,
    "h": 257.4
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#4C7BBE
secondary
#CCB79A
accent
#A051D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C7BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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