#4C46DF#4C46DF

#4C46DF is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.223 H 276.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4C46DF
RGBrgb(76, 70, 223)
HSLhsl(242, 71%, 57%)
HSVhsv(242, 69%, 87%)
CMYKcmyk(65.9%, 68.6%, 0%, 12.5%)
CIE-LABlab(39.99, 48.37, -76.90)
CIE-LCHlch(39.99, 90.85, 302.17°)
OKLaboklab(50.31% 0.0251 -0.222)
OKLCHoklch(50.31% 0.223 276.5)
XYZxyz(18.4856, 11.2429, 70.9937)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C46DF #D9DF46
analogous
#468CDF #4C46DF #9946DF
triadic
#4C46DF #DF4C46 #46DF4C
tetradic
#4C46DF #DF468C #D9DF46 #46DF99
square
#4C46DF #DF468C #D9DF46 #46DF99
split-complementary
#4C46DF #DF9946 #8CDF46
monochromatic
#1E1991 #2922C6 #4C46DF #7E7AE8 #B1AEF1

Accessibility & contrast

On white

6.46
#4C46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4C46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C46DF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C46DF#FFFFFF#000000##FFFFFF
##4C46DF1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#0057DC
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c46df;
/* rgb */ color: rgb(76, 70, 223);
/* oklch */ color: oklch(50.3% 0.223 276.5);
Tailwind
colors: {
  custom: {
    50: '#907bea',
    500: '#4c46df',
    950: '#000000',
  },
}
SCSS
$custom: #4c46df;
$custom-light: #907bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c46df",
  "rgb": {
    "r": 76,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 242.353,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.22347,
    "h": 276.5
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#4C46DF
secondary
#DDDFA2
accent
#ED3BE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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