#4043C7#4043C7

#4043C7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.9% C 0.200 H 274.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4043C7
RGBrgb(64, 67, 199)
HSLhsl(239, 55%, 52%)
HSVhsv(239, 68%, 78%)
CMYKcmyk(67.8%, 66.3%, 0%, 22%)
CIE-LABlab(36.42, 40.78, -68.95)
CIE-LCHlch(36.42, 80.11, 300.60°)
OKLaboklab(46.87% 0.0158 -0.1991)
OKLCHoklch(46.87% 0.2 274.5)
XYZxyz(14.4269, 9.2265, 55.0424)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043C7 #C7C440
analogous
#4087C7 #4043C7 #8140C7
triadic
#4043C7 #C74043 #43C740
tetradic
#4043C7 #C74087 #C7C440 #40C781
square
#4043C7 #C74087 #C7C440 #40C781
split-complementary
#4043C7 #C78140 #87C740
monochromatic
#20226D #2E309C #4043C7 #6F72D5 #9FA0E3

Accessibility & contrast

On white

7.38
#4043C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4043C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043C7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043C7#FFFFFF#000000##FFFFFF
##4043C71.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4043c7;
/* rgb */ color: rgb(64, 67, 199);
/* oklch */ color: oklch(46.9% 0.200 274.5);
Tailwind
colors: {
  custom: {
    50: '#8678d9',
    500: '#4043c7',
    950: '#000000',
  },
}
SCSS
$custom: #4043c7;
$custom-light: #8678d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4043c7",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 238.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46869,
    "c": 0.19972,
    "h": 274.5
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#4043C7
secondary
#CFCE94
accent
#DB4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4043C7

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

Preview Lab → · Contrast checker → · Palette generator →

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