#4C7EC9#4C7EC9

#4C7EC9 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.128 H 258.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C7EC9
RGBrgb(76, 126, 201)
HSLhsl(216, 54%, 54%)
HSVhsv(216, 62%, 79%)
CMYKcmyk(62.2%, 37.3%, 0%, 21.2%)
CIE-LABlab(52.59, 6.53, -43.99)
CIE-LCHlch(52.59, 44.47, 278.44°)
OKLaboklab(59.3% -0.0258 -0.1249)
OKLCHoklch(59.3% 0.128 258.3)
XYZxyz(20.9802, 20.6733, 58.1317)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7EC9 #C9974C
analogous
#4CBDC9 #4C7EC9 #594CC9
triadic
#4C7EC9 #C94C7E #7EC94C
tetradic
#4C7EC9 #C94CBD #C9974C #4CC959
square
#4C7EC9 #C94CBD #C9974C #4CC959
split-complementary
#4C7EC9 #C9594C #BDC94C
monochromatic
#244577 #3260A6 #4C7EC9 #7BA0D7 #AAC2E5

Accessibility & contrast

On white

4.09
#4C7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4C7EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7EC9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7EC9#FFFFFF#000000##000000
##4C7EC91.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CC
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c7ec9;
/* rgb */ color: rgb(76, 126, 201);
/* oklch */ color: oklch(59.3% 0.128 258.3);
Tailwind
colors: {
  custom: {
    50: '#89a3da',
    500: '#4c7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4c7ec9;
$custom-light: #89a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7ec9",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 216,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.12751,
    "h": 258.3
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#4C7EC9
secondary
#D3BE9E
accent
#A34BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4C7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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