#4043D0#4043D0

#4043D0 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.7% C 0.211 H 274.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4043D0
RGBrgb(64, 67, 208)
HSLhsl(239, 61%, 53%)
HSVhsv(239, 69%, 82%)
CMYKcmyk(69.2%, 67.8%, 0%, 18.4%)
CIE-LABlab(37.22, 43.79, -72.85)
CIE-LCHlch(37.22, 85.00, 301.01°)
OKLaboklab(47.7% 0.0148 -0.2105)
OKLCHoklch(47.7% 0.211 274)
XYZxyz(15.5029, 9.6569, 60.7092)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043D0 #D0CD40
analogous
#408BD0 #4043D0 #8540D0
triadic
#4043D0 #D04043 #43D040
tetradic
#4043D0 #D0408B #D0CD40 #40D085
square
#4043D0 #D0408B #D0CD40 #40D085
split-complementary
#4043D0 #D08540 #8BD040
monochromatic
#1E1F78 #2A2CA9 #4043D0 #7173DC #A2A4E8

Accessibility & contrast

On white

7.16
#4043D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4043D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043D0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043D0#FFFFFF#000000##FFFFFF
##4043D01.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0051CD
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4043d0;
/* rgb */ color: rgb(64, 67, 208);
/* oklch */ color: oklch(47.7% 0.211 274.0);
Tailwind
colors: {
  custom: {
    50: '#8878e0',
    500: '#4043d0',
    950: '#000000',
  },
}
SCSS
$custom: #4043d0;
$custom-light: #8878e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4043d0",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 208
  },
  "hsl": {
    "h": 238.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.21104,
    "h": 274
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#4043D0
secondary
#D5D497
accent
#E044E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043D0

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

Preview Lab → · Contrast checker → · Palette generator →

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