#4046DD#4046DD

#4046DD is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.224 H 272.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#4046DD
RGBrgb(64, 70, 221)
HSLhsl(238, 70%, 56%)
HSVhsv(238, 71%, 87%)
CMYKcmyk(71%, 68.3%, 0%, 13.3%)
CIE-LABlab(39.05, 46.35, -77.32)
CIE-LCHlch(39.05, 90.15, 300.94°)
OKLaboklab(49.38% 0.0115 -0.2236)
OKLCHoklch(49.38% 0.224 272.9)
XYZxyz(17.3513, 10.6890, 69.5414)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046DD #DDD740
analogous
#4094DD #4046DD #8840DD
triadic
#4046DD #DD4046 #46DD40
tetradic
#4046DD #DD4094 #DDD740 #40DD88
square
#4046DD #DD4094 #DDD740 #40DD88
split-complementary
#4046DD #DD8840 #94DD40
monochromatic
#191D8A #2228BE #4046DD #7478E6 #A8ABEF

Accessibility & contrast

On white

6.69
#4046DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4046DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4046DD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046DD#FFFFFF#000000##FFFFFF
##4046DD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0055DA
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4046dd;
/* rgb */ color: rgb(64, 70, 221);
/* oklch */ color: oklch(49.4% 0.224 272.9);
Tailwind
colors: {
  custom: {
    50: '#8a7ae9',
    500: '#4046dd',
    950: '#000000',
  },
}
SCSS
$custom: #4046dd;
$custom-light: #8a7ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#4046dd",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 237.707,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.22387,
    "h": 272.9
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#4046DD
secondary
#DDDA9C
accent
#E63BED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4046DD

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

Preview Lab → · Contrast checker → · Palette generator →

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