#4043CE#4043CE

#4043CE is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.5% C 0.209 H 274.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4043CE
RGBrgb(64, 67, 206)
HSLhsl(239, 59%, 53%)
HSVhsv(239, 69%, 81%)
CMYKcmyk(68.9%, 67.5%, 0%, 19.2%)
CIE-LABlab(37.04, 43.13, -71.99)
CIE-LCHlch(37.04, 83.92, 300.92°)
OKLaboklab(47.51% 0.0151 -0.208)
OKLCHoklch(47.51% 0.209 274.1)
XYZxyz(15.2584, 9.5591, 59.4215)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043CE #CECB40
analogous
#408ACE #4043CE #8440CE
triadic
#4043CE #CE4043 #43CE40
tetradic
#4043CE #CE408A #CECB40 #40CE84
square
#4043CE #CE408A #CECB40 #40CE84
split-complementary
#4043CE #CE8440 #8ACE40
monochromatic
#1E2075 #2B2DA6 #4043CE #7173DA #A1A3E7

Accessibility & contrast

On white

7.21
#4043CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4043CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043CE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043CE#FFFFFF#000000##FFFFFF
##4043CE1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4043ce;
/* rgb */ color: rgb(64, 67, 206);
/* oklch */ color: oklch(47.5% 0.209 274.1);
Tailwind
colors: {
  custom: {
    50: '#8778de',
    500: '#4043ce',
    950: '#000000',
  },
}
SCSS
$custom: #4043ce;
$custom-light: #8778de;
$custom-dark: #000000;
JSON
{
  "hex": "#4043ce",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 238.732,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.20855,
    "h": 274.1
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#4043CE
secondary
#D4D296
accent
#DF45E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043CE

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

Preview Lab → · Contrast checker → · Palette generator →

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