#4043C1#4043C1

#4043C1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.192 H 274.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4043C1
RGBrgb(64, 67, 193)
HSLhsl(239, 51%, 50%)
HSVhsv(239, 67%, 76%)
CMYKcmyk(66.8%, 65.3%, 0%, 24.3%)
CIE-LABlab(35.89, 38.76, -66.30)
CIE-LCHlch(35.89, 76.80, 300.31°)
OKLaboklab(46.33% 0.0164 -0.1913)
OKLCHoklch(46.33% 0.192 274.9)
XYZxyz(13.7440, 8.9533, 51.4456)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043C1 #C1BE40
analogous
#4083C1 #4043C1 #7E40C1
triadic
#4043C1 #C14043 #43C140
tetradic
#4043C1 #C14083 #C1BE40 #40C17E
square
#4043C1 #C14083 #C1BE40 #40C17E
split-complementary
#4043C1 #C17E40 #83C140
monochromatic
#212366 #303294 #4043C1 #6E70D0 #9C9EDF

Accessibility & contrast

On white

7.52
#4043C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4043C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043C1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043C1#FFFFFF#000000##FFFFFF
##4043C11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4043c1;
/* rgb */ color: rgb(64, 67, 193);
/* oklch */ color: oklch(46.3% 0.192 274.9);
Tailwind
colors: {
  custom: {
    50: '#8577d5',
    500: '#4043c1',
    950: '#000000',
  },
}
SCSS
$custom: #4043c1;
$custom-light: #8577d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4043c1",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 193
  },
  "hsl": {
    "h": 238.605,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46329,
    "c": 0.19204,
    "h": 274.9
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#4043C1
secondary
#CBCA92
accent
#D74DDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4043C1

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

Preview Lab → · Contrast checker → · Palette generator →

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