#4046D9#4046D9

#4046D9 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.219 H 273.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4046D9
RGBrgb(64, 70, 217)
HSLhsl(238, 67%, 55%)
HSVhsv(238, 71%, 85%)
CMYKcmyk(70.5%, 67.7%, 0%, 14.9%)
CIE-LABlab(38.69, 45.02, -75.63)
CIE-LCHlch(38.69, 88.01, 300.76°)
OKLaboklab(49.01% 0.012 -0.2186)
OKLCHoklch(49.01% 0.219 273.1)
XYZxyz(16.8247, 10.4784, 66.7680)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046D9 #D9D340
analogous
#4093D9 #4046D9 #8640D9
triadic
#4046D9 #D94046 #46D940
tetradic
#4046D9 #D94093 #D9D340 #40D986
square
#4046D9 #D94093 #D9D340 #40D986
split-complementary
#4046D9 #D98640 #93D940
monochromatic
#1A1E84 #242AB7 #4046D9 #7377E3 #A6A9ED

Accessibility & contrast

On white

6.78
#4046D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4046D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4046D9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046D9#FFFFFF#000000##FFFFFF
##4046D91.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0054D6
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4046d9;
/* rgb */ color: rgb(64, 70, 217);
/* oklch */ color: oklch(49.0% 0.219 273.1);
Tailwind
colors: {
  custom: {
    50: '#897ae6',
    500: '#4046d9',
    950: '#000000',
  },
}
SCSS
$custom: #4046d9;
$custom-light: #897ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4046d9",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 237.647,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.21895,
    "h": 273.1
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#4046D9
secondary
#DAD89A
accent
#E33EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4046D9

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

Preview Lab → · Contrast checker → · Palette generator →

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