#4043C9#4043C9

#4043C9 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.202 H 274.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4043C9
RGBrgb(64, 67, 201)
HSLhsl(239, 56%, 52%)
HSVhsv(239, 68%, 79%)
CMYKcmyk(68.2%, 66.7%, 0%, 21.2%)
CIE-LABlab(36.59, 41.45, -69.82)
CIE-LCHlch(36.59, 81.20, 300.70°)
OKLaboklab(47.05% 0.0156 -0.2017)
OKLCHoklch(47.05% 0.202 274.4)
XYZxyz(14.6606, 9.3200, 56.2733)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043C9 #C9C640
analogous
#4088C9 #4043C9 #8240C9
triadic
#4043C9 #C94043 #43C940
tetradic
#4043C9 #C94088 #C9C640 #40C982
square
#4043C9 #C94088 #C9C640 #40C982
split-complementary
#4043C9 #C98240 #88C940
monochromatic
#1F216F #2D2F9F #4043C9 #7072D6 #9FA1E4

Accessibility & contrast

On white

7.33
#4043C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4043C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043C9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043C9#FFFFFF#000000##FFFFFF
##4043C91.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4043c9;
/* rgb */ color: rgb(64, 67, 201);
/* oklch */ color: oklch(47.1% 0.202 274.4);
Tailwind
colors: {
  custom: {
    50: '#8678db',
    500: '#4043c9',
    950: '#000000',
  },
}
SCSS
$custom: #4043c9;
$custom-light: #8678db;
$custom-dark: #000000;
JSON
{
  "hex": "#4043c9",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 201
  },
  "hsl": {
    "h": 238.686,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.20226,
    "h": 274.4
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#4043C9
secondary
#D0CF94
accent
#DC49DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043C9

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

Preview Lab → · Contrast checker → · Palette generator →

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