#4043C2#4043C2

#4043C2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.4% C 0.193 H 274.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4043C2
RGBrgb(64, 67, 194)
HSLhsl(239, 52%, 51%)
HSVhsv(239, 67%, 76%)
CMYKcmyk(67%, 65.5%, 0%, 23.9%)
CIE-LABlab(35.98, 39.09, -66.74)
CIE-LCHlch(35.98, 77.35, 300.36°)
OKLaboklab(46.42% 0.0163 -0.1926)
OKLCHoklch(46.42% 0.193 274.8)
XYZxyz(13.8559, 8.9981, 52.0351)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043C2 #C2BF40
analogous
#4084C2 #4043C2 #7E40C2
triadic
#4043C2 #C24043 #43C240
tetradic
#4043C2 #C24084 #C2BF40 #40C27E
square
#4043C2 #C24084 #C2BF40 #40C27E
split-complementary
#4043C2 #C27E40 #84C240
monochromatic
#212267 #303295 #4043C2 #6E71D1 #9D9EE0

Accessibility & contrast

On white

7.50
#4043C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4043C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043C2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043C2#FFFFFF#000000##FFFFFF
##4043C21.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4043c2;
/* rgb */ color: rgb(64, 67, 194);
/* oklch */ color: oklch(46.4% 0.193 274.8);
Tailwind
colors: {
  custom: {
    50: '#8577d5',
    500: '#4043c2',
    950: '#000000',
  },
}
SCSS
$custom: #4043c2;
$custom-light: #8577d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4043c2",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 238.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46418,
    "c": 0.19333,
    "h": 274.8
  },
  "luminance": 0.08999
}

Semantic roles & 50–950 ramp

primary
#4043C2
secondary
#CCCA92
accent
#D84DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4043C2

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

Preview Lab → · Contrast checker → · Palette generator →

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