#4C6DEF#4C6DEF

#4C6DEF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.199 H 268.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4C6DEF
RGBrgb(76, 109, 239)
HSLhsl(228, 84%, 62%)
HSVhsv(228, 68%, 94%)
CMYKcmyk(68.2%, 54.4%, 0%, 6.3%)
CIE-LABlab(50.34, 30.19, -69.05)
CIE-LCHlch(50.34, 75.36, 293.62°)
OKLaboklab(58.32% -0.0044 -0.1987)
OKLCHoklch(58.32% 0.199 268.7)
XYZxyz(24.0238, 18.7034, 83.9887)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6DEF #EFCE4C
analogous
#4CBEEF #4C6DEF #7D4CEF
triadic
#4C6DEF #EF4C6D #6DEF4C
tetradic
#4C6DEF #EF4CBE #EFCE4C #4CEF7D
square
#4C6DEF #EF4CBE #EFCE4C #4CEF7D
split-complementary
#4C6DEF #EF7D4C #BEEF4C
monochromatic
#1030B1 #1540E9 #4C6DEF #849BF4 #BCC9F9

Accessibility & contrast

On white

4.43
#4C6DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4C6DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C6DEF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6DEF#FFFFFF#000000##000000
##4C6DEF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c6def;
/* rgb */ color: rgb(76, 109, 239);
/* oklch */ color: oklch(58.3% 0.199 268.7);
Tailwind
colors: {
  custom: {
    50: '#9096f5',
    500: '#4c6def',
    950: '#000000',
  },
}
SCSS
$custom: #4c6def;
$custom-light: #9096f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6def",
  "rgb": {
    "r": 76,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 227.853,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.19876,
    "h": 268.7
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#4C6DEF
secondary
#EADDAD
accent
#B405E0
background
#F9F9FF
surface
#F2F1FE
border
#CCCBD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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