#4043C5#4043C5

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

Color values

HEX#4043C5
RGBrgb(64, 67, 197)
HSLhsl(239, 53%, 51%)
HSVhsv(239, 68%, 77%)
CMYKcmyk(67.5%, 66%, 0%, 22.7%)
CIE-LABlab(36.24, 40.11, -68.07)
CIE-LCHlch(36.24, 79.01, 300.51°)
OKLaboklab(46.69% 0.016 -0.1965)
OKLCHoklch(46.69% 0.197 274.7)
XYZxyz(14.1962, 9.1342, 53.8274)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043C5 #C5C240
analogous
#4085C5 #4043C5 #7F40C5
triadic
#4043C5 #C54043 #43C540
tetradic
#4043C5 #C54085 #C5C240 #40C57F
square
#4043C5 #C54085 #C5C240 #40C57F
split-complementary
#4043C5 #C57F40 #85C540
monochromatic
#20226A #2F3199 #4043C5 #6F71D3 #9E9FE2

Accessibility & contrast

On white

7.43
#4043C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4043C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043C5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043C5#FFFFFF#000000##FFFFFF
##4043C51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4043c5;
/* rgb */ color: rgb(64, 67, 197);
/* oklch */ color: oklch(46.7% 0.197 274.7);
Tailwind
colors: {
  custom: {
    50: '#8678d8',
    500: '#4043c5',
    950: '#000000',
  },
}
SCSS
$custom: #4043c5;
$custom-light: #8678d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4043c5",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 238.647,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.19717,
    "h": 274.7
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#4043C5
secondary
#CECC93
accent
#DA4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4043C5

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

Preview Lab → · Contrast checker → · Palette generator →

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