#4046CE#4046CE

#4046CE is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.0% C 0.205 H 273.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4046CE
RGBrgb(64, 70, 206)
HSLhsl(237, 59%, 53%)
HSVhsv(237, 69%, 81%)
CMYKcmyk(68.9%, 66%, 0%, 19.2%)
CIE-LABlab(37.71, 41.33, -70.90)
CIE-LCHlch(37.71, 82.06, 300.24°)
OKLaboklab(48% 0.0131 -0.2048)
OKLCHoklch(48% 0.205 273.7)
XYZxyz(15.4414, 9.9251, 59.4825)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046CE #CEC840
analogous
#408DCE #4046CE #8140CE
triadic
#4046CE #CE4046 #46CE40
tetradic
#4046CE #CE408D #CEC840 #40CE81
square
#4046CE #CE408D #CEC840 #40CE81
split-complementary
#4046CE #CE8140 #8DCE40
monochromatic
#1E2275 #2B30A6 #4046CE #7175DA #A1A4E7

Accessibility & contrast

On white

7.03
#4046CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4046CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046CE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046CE#FFFFFF#000000##FFFFFF
##4046CE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4046ce;
/* rgb */ color: rgb(64, 70, 206);
/* oklch */ color: oklch(48.0% 0.205 273.7);
Tailwind
colors: {
  custom: {
    50: '#877ade',
    500: '#4046ce',
    950: '#000000',
  },
}
SCSS
$custom: #4046ce;
$custom-light: #877ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4046ce",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 237.465,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.20521,
    "h": 273.7
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#4046CE
secondary
#D4D196
accent
#DC45E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4046CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4046CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva