#4046C4#4046C4

#4046C4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.192 H 274.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4046C4
RGBrgb(64, 70, 196)
HSLhsl(237, 53%, 51%)
HSVhsv(237, 67%, 77%)
CMYKcmyk(67.3%, 64.3%, 0%, 23.1%)
CIE-LABlab(36.84, 37.93, -66.50)
CIE-LCHlch(36.84, 76.56, 299.70°)
OKLaboklab(47.1% 0.0139 -0.1919)
OKLCHoklch(47.1% 0.192 274.2)
XYZxyz(14.2650, 9.4545, 53.2870)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046C4 #C4BE40
analogous
#4088C4 #4046C4 #7C40C4
triadic
#4046C4 #C44046 #46C440
tetradic
#4046C4 #C44088 #C4BE40 #40C47C
square
#4046C4 #C44088 #C4BE40 #40C47C
split-complementary
#4046C4 #C47C40 #88C440
monochromatic
#202469 #2F3498 #4046C4 #6F73D2 #9EA1E1

Accessibility & contrast

On white

7.26
#4046C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4046C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4046C4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046C4#FFFFFF#000000##FFFFFF
##4046C41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4046c4;
/* rgb */ color: rgb(64, 70, 196);
/* oklch */ color: oklch(47.1% 0.192 274.2);
Tailwind
colors: {
  custom: {
    50: '#857ad7',
    500: '#4046c4',
    950: '#000000',
  },
}
SCSS
$custom: #4046c4;
$custom-light: #857ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4046c4",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 237.273,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.1924,
    "h": 274.2
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#4046C4
secondary
#CDCA93
accent
#D64CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4046C4

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

Preview Lab → · Contrast checker → · Palette generator →

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