#4046D3#4046D3

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

Color values

HEX#4046D3
RGBrgb(64, 70, 211)
HSLhsl(238, 63%, 54%)
HSVhsv(238, 70%, 83%)
CMYKcmyk(69.7%, 66.8%, 0%, 17.3%)
CIE-LABlab(38.15, 43.01, -73.06)
CIE-LCHlch(38.15, 84.78, 300.49°)
OKLaboklab(48.45% 0.0126 -0.2111)
OKLCHoklch(48.45% 0.212 273.4)
XYZxyz(16.0585, 10.1719, 62.7325)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4046D3 #D3CD40
analogous
#4090D3 #4046D3 #8440D3
triadic
#4046D3 #D34046 #46D340
tetradic
#4046D3 #D34090 #D3CD40 #40D384
square
#4046D3 #D34090 #D3CD40 #40D384
split-complementary
#4046D3 #D38440 #90D340
monochromatic
#1D207C #282DAE #4046D3 #7276DE #A3A6EA

Accessibility & contrast

On white

6.92
#4046D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4046D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4046D3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4046D3#FFFFFF#000000##FFFFFF
##4046D31.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4046d3;
/* rgb */ color: rgb(64, 70, 211);
/* oklch */ color: oklch(48.5% 0.211 273.4);
Tailwind
colors: {
  custom: {
    50: '#887ae2',
    500: '#4046d3',
    950: '#000000',
  },
}
SCSS
$custom: #4046d3;
$custom-light: #887ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4046d3",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 237.551,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.2115,
    "h": 273.4
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#4046D3
secondary
#D7D498
accent
#DF42E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #4046D3

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

Preview Lab → · Contrast checker → · Palette generator →

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