#4043D1#4043D1

#4043D1 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.212 H 274.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4043D1
RGBrgb(64, 67, 209)
HSLhsl(239, 61%, 54%)
HSVhsv(239, 69%, 82%)
CMYKcmyk(69.4%, 67.9%, 0%, 18%)
CIE-LABlab(37.31, 44.13, -73.28)
CIE-LCHlch(37.31, 85.54, 301.05°)
OKLaboklab(47.79% 0.0147 -0.2118)
OKLCHoklch(47.79% 0.212 274)
XYZxyz(15.6263, 9.7063, 61.3592)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043D1 #D1CE40
analogous
#408BD1 #4043D1 #8540D1
triadic
#4043D1 #D14043 #43D140
tetradic
#4043D1 #D1408B #D1CE40 #40D185
square
#4043D1 #D1408B #D1CE40 #40D185
split-complementary
#4043D1 #D18540 #8BD140
monochromatic
#1D1F79 #292CAB #4043D1 #7174DD #A3A4E9

Accessibility & contrast

On white

7.14
#4043D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4043D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043D1
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043D1#FFFFFF#000000##FFFFFF
##4043D11.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0051CE
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4043d1;
/* rgb */ color: rgb(64, 67, 209);
/* oklch */ color: oklch(47.8% 0.212 274.0);
Tailwind
colors: {
  custom: {
    50: '#8878e0',
    500: '#4043d1',
    950: '#000000',
  },
}
SCSS
$custom: #4043d1;
$custom-light: #8878e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4043d1",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 238.759,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.21229,
    "h": 274
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#4043D1
secondary
#D5D497
accent
#E144E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043D1

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

Preview Lab → · Contrast checker → · Palette generator →

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