#4043D9#4043D9

#4043D9 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.222 H 273.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4043D9
RGBrgb(64, 67, 217)
HSLhsl(239, 67%, 55%)
HSVhsv(239, 71%, 85%)
CMYKcmyk(70.5%, 69.1%, 0%, 14.9%)
CIE-LABlab(38.04, 46.77, -76.69)
CIE-LCHlch(38.04, 89.82, 301.38°)
OKLaboklab(48.54% 0.0137 -0.2217)
OKLCHoklch(48.54% 0.222 273.5)
XYZxyz(16.6417, 10.1124, 66.7070)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043D9 #D9D640
analogous
#408FD9 #4043D9 #8A40D9
triadic
#4043D9 #D94043 #43D940
tetradic
#4043D9 #D9408F #D9D640 #40D98A
square
#4043D9 #D9408F #D9D640 #40D98A
split-complementary
#4043D9 #D98A40 #8FD940
monochromatic
#1A1C84 #2427B7 #4043D9 #7375E3 #A6A7ED

Accessibility & contrast

On white

6.95
#4043D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4043D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4043D9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043D9#FFFFFF#000000##FFFFFF
##4043D91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0052D6
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4043d9;
/* rgb */ color: rgb(64, 67, 217);
/* oklch */ color: oklch(48.5% 0.222 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a78e6',
    500: '#4043d9',
    950: '#000000',
  },
}
SCSS
$custom: #4043d9;
$custom-light: #8a78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4043d9",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 238.824,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.22214,
    "h": 273.5
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#4043D9
secondary
#DAD99A
accent
#E63EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4043D9

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

Preview Lab → · Contrast checker → · Palette generator →

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