#4043D4#4043D4

#4043D4 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.1% C 0.216 H 273.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4043D4
RGBrgb(64, 67, 212)
HSLhsl(239, 63%, 54%)
HSVhsv(239, 70%, 83%)
CMYKcmyk(69.8%, 68.4%, 0%, 16.9%)
CIE-LABlab(37.58, 45.12, -74.57)
CIE-LCHlch(37.58, 87.16, 301.18°)
OKLaboklab(48.07% 0.0144 -0.2155)
OKLCHoklch(48.07% 0.216 273.8)
XYZxyz(16.0012, 9.8562, 63.3338)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043D4 #D4D140
analogous
#408DD4 #4043D4 #8740D4
triadic
#4043D4 #D44043 #43D440
tetradic
#4043D4 #D4408D #D4D140 #40D487
square
#4043D4 #D4408D #D4D140 #40D487
split-complementary
#4043D4 #D48740 #8DD440
monochromatic
#1C1E7D #272AAF #4043D4 #7274DF #A4A5EA

Accessibility & contrast

On white

7.07
#4043D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4043D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043D4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043D4#FFFFFF#000000##FFFFFF
##4043D41.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#0051D1
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4043d4;
/* rgb */ color: rgb(64, 67, 212);
/* oklch */ color: oklch(48.1% 0.216 273.8);
Tailwind
colors: {
  custom: {
    50: '#8978e2',
    500: '#4043d4',
    950: '#000000',
  },
}
SCSS
$custom: #4043d4;
$custom-light: #8978e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4043d4",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 238.784,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.21601,
    "h": 273.8
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#4043D4
secondary
#D7D698
accent
#E342E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4043D4

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

Preview Lab → · Contrast checker → · Palette generator →

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