#4C6ED9#4C6ED9

#4C6ED9 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.168 H 267.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C6ED9
RGBrgb(76, 110, 217)
HSLhsl(226, 65%, 57%)
HSVhsv(226, 65%, 85%)
CMYKcmyk(65%, 49.3%, 0%, 14.9%)
CIE-LABlab(49.13, 21.92, -58.62)
CIE-LCHlch(49.13, 62.58, 290.51°)
OKLaboklab(56.94% -0.0071 -0.168)
OKLCHoklch(56.94% 0.168 267.6)
XYZxyz(21.0765, 17.6962, 67.9372)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6ED9 #D9B74C
analogous
#4CB4D9 #4C6ED9 #714CD9
triadic
#4C6ED9 #D94C6E #6ED94C
tetradic
#4C6ED9 #D94CB4 #D9B74C #4CD971
square
#4C6ED9 #D94CB4 #D9B74C #4CD971
split-complementary
#4C6ED9 #D9714C #B4D94C
monochromatic
#1E398D #294DBF #4C6ED9 #7E97E4 #B1C0EE

Accessibility & contrast

On white

4.63
#4C6ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4C6ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6ED9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6ED9#FFFFFF#000000##FFFFFF
##4C6ED91.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#337BDD
Deuteranopia (green-blind)
#086FD7
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c6ed9;
/* rgb */ color: rgb(76, 110, 217);
/* oklch */ color: oklch(56.9% 0.168 267.6);
Tailwind
colors: {
  custom: {
    50: '#8c97e5',
    500: '#4c6ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4c6ed9;
$custom-light: #8c97e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6ed9",
  "rgb": {
    "r": 76,
    "g": 110,
    "b": 217
  },
  "hsl": {
    "h": 225.532,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.16816,
    "h": 267.6
  },
  "luminance": 0.17698
}

Semantic roles & 50–950 ramp

primary
#4C6ED9
secondary
#DDCFA4
accent
#BF40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C6ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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