#4043C0#4043C0

#4043C0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.191 H 275.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4043C0
RGBrgb(64, 67, 192)
HSLhsl(239, 50%, 50%)
HSVhsv(239, 67%, 75%)
CMYKcmyk(66.7%, 65.1%, 0%, 24.7%)
CIE-LABlab(35.81, 38.42, -65.86)
CIE-LCHlch(35.81, 76.24, 300.26°)
OKLaboklab(46.24% 0.0165 -0.19)
OKLCHoklch(46.24% 0.191 275)
XYZxyz(13.6328, 8.9089, 50.8601)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043C0 #C0BD40
analogous
#4083C0 #4043C0 #7D40C0
triadic
#4043C0 #C04043 #43C040
tetradic
#4043C0 #C04083 #C0BD40 #40C07D
square
#4043C0 #C04083 #C0BD40 #40C07D
split-complementary
#4043C0 #C07D40 #83C040
monochromatic
#212364 #303392 #4043C0 #6E70CF #9C9EDE

Accessibility & contrast

On white

7.55
#4043C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4043C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043C0
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043C0#FFFFFF#000000##FFFFFF
##4043C01.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4043c0;
/* rgb */ color: rgb(64, 67, 192);
/* oklch */ color: oklch(46.2% 0.191 275.0);
Tailwind
colors: {
  custom: {
    50: '#8577d4',
    500: '#4043c0',
    950: '#000000',
  },
}
SCSS
$custom: #4043c0;
$custom-light: #8577d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4043c0",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 192
  },
  "hsl": {
    "h": 238.594,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.19074,
    "h": 275
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#4043C0
secondary
#CBC991
accent
#D74EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4043C0

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

Preview Lab → · Contrast checker → · Palette generator →

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