#4046D4#4046D4

#4046D4 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.213 H 273.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4046D4
RGBrgb(64, 70, 212)
HSLhsl(238, 63%, 54%)
HSVhsv(238, 70%, 83%)
CMYKcmyk(69.8%, 67%, 0%, 16.9%)
CIE-LABlab(38.24, 43.35, -73.49)
CIE-LCHlch(38.24, 85.32, 300.53°)
OKLaboklab(48.54% 0.0125 -0.2124)
OKLCHoklch(48.54% 0.213 273.4)
XYZxyz(16.1842, 10.2222, 63.3948)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046D4 #D4CE40
analogous
#4090D4 #4046D4 #8440D4
triadic
#4046D4 #D44046 #46D440
tetradic
#4046D4 #D44090 #D4CE40 #40D484
square
#4046D4 #D44090 #D4CE40 #40D484
split-complementary
#4046D4 #D48440 #90D440
monochromatic
#1C207D #272DAF #4046D4 #7276DF #A4A7EA

Accessibility & contrast

On white

6.90
#4046D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4046D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4046D4
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046D4#FFFFFF#000000##FFFFFF
##4046D41.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4046d4;
/* rgb */ color: rgb(64, 70, 212);
/* oklch */ color: oklch(48.5% 0.213 273.4);
Tailwind
colors: {
  custom: {
    50: '#887ae2',
    500: '#4046d4',
    950: '#000000',
  },
}
SCSS
$custom: #4046d4;
$custom-light: #887ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4046d4",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 237.568,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.21275,
    "h": 273.4
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#4046D4
secondary
#D7D598
accent
#E042E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4046D4

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

Preview Lab → · Contrast checker → · Palette generator →

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