#4043CF#4043CF

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

Color values

HEX#4043CF
RGBrgb(64, 67, 207)
HSLhsl(239, 60%, 53%)
HSVhsv(239, 69%, 81%)
CMYKcmyk(69.1%, 67.6%, 0%, 18.8%)
CIE-LABlab(37.13, 43.46, -72.42)
CIE-LCHlch(37.13, 84.46, 300.97°)
OKLaboklab(47.6% 0.015 -0.2093)
OKLCHoklch(47.6% 0.21 274.1)
XYZxyz(15.3802, 9.6078, 60.0633)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043CF #CFCC40
analogous
#408BCF #4043CF #8440CF
triadic
#4043CF #CF4043 #43CF40
tetradic
#4043CF #CF408B #CFCC40 #40CF84
square
#4043CF #CF408B #CFCC40 #40CF84
split-complementary
#4043CF #CF8440 #8BCF40
monochromatic
#1E2077 #2A2DA8 #4043CF #7173DB #A2A3E8

Accessibility & contrast

On white

7.19
#4043CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4043CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043CF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043CF#FFFFFF#000000##FFFFFF
##4043CF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4043cf;
/* rgb */ color: rgb(64, 67, 207);
/* oklch */ color: oklch(47.6% 0.210 274.1);
Tailwind
colors: {
  custom: {
    50: '#8878df',
    500: '#4043cf',
    950: '#000000',
  },
}
SCSS
$custom: #4043cf;
$custom-light: #8878df;
$custom-dark: #000000;
JSON
{
  "hex": "#4043cf",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 238.741,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47603,
    "c": 0.2098,
    "h": 274.1
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#4043CF
secondary
#D4D397
accent
#E045E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043CF

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

Preview Lab → · Contrast checker → · Palette generator →

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