#4C6AEF#4C6AEF

#4C6AEF is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 57.8% C 0.202 H 269.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4C6AEF
RGBrgb(76, 106, 239)
HSLhsl(229, 84%, 62%)
HSVhsv(229, 68%, 94%)
CMYKcmyk(68.2%, 55.6%, 0%, 6.3%)
CIE-LABlab(49.59, 32.05, -70.27)
CIE-LCHlch(49.59, 77.23, 294.52°)
OKLaboklab(57.76% -0.0021 -0.2023)
OKLCHoklch(57.76% 0.202 269.4)
XYZxyz(23.7092, 18.0742, 83.8838)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6AEF #EFD14C
analogous
#4CBCEF #4C6AEF #804CEF
triadic
#4C6AEF #EF4C6A #6AEF4C
tetradic
#4C6AEF #EF4CBC #EFD14C #4CEF80
square
#4C6AEF #EF4CBC #EFD14C #4CEF80
split-complementary
#4C6AEF #EF804C #BCEF4C
monochromatic
#102DB1 #153CE9 #4C6AEF #8499F4 #BCC8F9

Accessibility & contrast

On white

4.55
#4C6AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4C6AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C6AEF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6AEF#FFFFFF#000000##000000
##4C6AEF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c6aef;
/* rgb */ color: rgb(76, 106, 239);
/* oklch */ color: oklch(57.8% 0.202 269.4);
Tailwind
colors: {
  custom: {
    50: '#9094f5',
    500: '#4c6aef',
    950: '#000000',
  },
}
SCSS
$custom: #4c6aef;
$custom-light: #9094f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6aef",
  "rgb": {
    "r": 76,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 228.957,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.20235,
    "h": 269.4
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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