#4043D2#4043D2

#4043D2 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.9% C 0.214 H 273.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4043D2
RGBrgb(64, 67, 210)
HSLhsl(239, 62%, 54%)
HSVhsv(239, 70%, 82%)
CMYKcmyk(69.5%, 68.1%, 0%, 17.6%)
CIE-LABlab(37.40, 44.46, -73.71)
CIE-LCHlch(37.40, 86.08, 301.10°)
OKLaboklab(47.88% 0.0146 -0.213)
OKLCHoklch(47.88% 0.214 273.9)
XYZxyz(15.7505, 9.7559, 62.0133)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043D2 #D2CF40
analogous
#408CD2 #4043D2 #8640D2
triadic
#4043D2 #D24043 #43D240
tetradic
#4043D2 #D2408C #D2CF40 #40D286
square
#4043D2 #D2408C #D2CF40 #40D286
split-complementary
#4043D2 #D28640 #8CD240
monochromatic
#1D1F7B #292BAC #4043D2 #7274DE #A3A5E9

Accessibility & contrast

On white

7.12
#4043D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4043D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043D2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043D2#FFFFFF#000000##FFFFFF
##4043D21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4043d2;
/* rgb */ color: rgb(64, 67, 210);
/* oklch */ color: oklch(47.9% 0.214 273.9);
Tailwind
colors: {
  custom: {
    50: '#8878e1',
    500: '#4043d2',
    950: '#000000',
  },
}
SCSS
$custom: #4043d2;
$custom-light: #8878e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4043d2",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 238.767,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.21353,
    "h": 273.9
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#4043D2
secondary
#D6D598
accent
#E243E5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043D2

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

Preview Lab → · Contrast checker → · Palette generator →

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