#4C6CEF#4C6CEF

#4C6CEF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.1% C 0.200 H 269.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C6CEF
RGBrgb(76, 108, 239)
HSLhsl(228, 84%, 62%)
HSVhsv(228, 68%, 94%)
CMYKcmyk(68.2%, 54.8%, 0%, 6.3%)
CIE-LABlab(50.09, 30.81, -69.45)
CIE-LCHlch(50.09, 75.98, 293.92°)
OKLaboklab(58.13% -0.0036 -0.1999)
OKLCHoklch(58.13% 0.2 269)
XYZxyz(23.9177, 18.4913, 83.9533)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6CEF #EFCF4C
analogous
#4CBEEF #4C6CEF #7E4CEF
triadic
#4C6CEF #EF4C6C #6CEF4C
tetradic
#4C6CEF #EF4CBE #EFCF4C #4CEF7E
square
#4C6CEF #EF4CBE #EFCF4C #4CEF7E
split-complementary
#4C6CEF #EF7E4C #BEEF4C
monochromatic
#102FB1 #153EE9 #4C6CEF #849AF4 #BCC8F9

Accessibility & contrast

On white

4.47
#4C6CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4C6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C6CEF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6CEF#FFFFFF#000000##000000
##4C6CEF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c6cef;
/* rgb */ color: rgb(76, 108, 239);
/* oklch */ color: oklch(58.1% 0.200 269.0);
Tailwind
colors: {
  custom: {
    50: '#9095f5',
    500: '#4c6cef',
    950: '#000000',
  },
}
SCSS
$custom: #4c6cef;
$custom-light: #9095f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6cef",
  "rgb": {
    "r": 76,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 228.221,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.19996,
    "h": 269
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#4C6CEF
secondary
#EADEAD
accent
#B505E0
background
#F9F9FF
surface
#F2F1FE
border
#CCCBD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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