#4043C4#4043C4

#4043C4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.196 H 274.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4043C4
RGBrgb(64, 67, 196)
HSLhsl(239, 53%, 51%)
HSVhsv(239, 67%, 77%)
CMYKcmyk(67.3%, 65.8%, 0%, 23.1%)
CIE-LABlab(36.15, 39.77, -67.63)
CIE-LCHlch(36.15, 78.46, 300.46°)
OKLaboklab(46.6% 0.0161 -0.1952)
OKLCHoklch(46.6% 0.196 274.7)
XYZxyz(14.0820, 9.0885, 53.2260)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043C4 #C4C140
analogous
#4085C4 #4043C4 #7F40C4
triadic
#4043C4 #C44043 #43C440
tetradic
#4043C4 #C44085 #C4C140 #40C47F
square
#4043C4 #C44085 #C4C140 #40C47F
split-complementary
#4043C4 #C47F40 #85C440
monochromatic
#202269 #2F3198 #4043C4 #6F71D2 #9E9FE1

Accessibility & contrast

On white

7.45
#4043C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4043C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043C4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043C4#FFFFFF#000000##FFFFFF
##4043C41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4043c4;
/* rgb */ color: rgb(64, 67, 196);
/* oklch */ color: oklch(46.6% 0.196 274.7);
Tailwind
colors: {
  custom: {
    50: '#8577d7',
    500: '#4043c4',
    950: '#000000',
  },
}
SCSS
$custom: #4043c4;
$custom-light: #8577d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4043c4",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 238.636,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.19589,
    "h": 274.7
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#4043C4
secondary
#CDCC93
accent
#D94CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4043C4

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

Preview Lab → · Contrast checker → · Palette generator →

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