#4043CC#4043CC

#4043CC is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.3% C 0.206 H 274.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4043CC
RGBrgb(64, 67, 204)
HSLhsl(239, 58%, 53%)
HSVhsv(239, 69%, 80%)
CMYKcmyk(68.6%, 67.2%, 0%, 20%)
CIE-LABlab(36.86, 42.46, -71.13)
CIE-LCHlch(36.86, 82.84, 300.83°)
OKLaboklab(47.33% 0.0153 -0.2055)
OKLCHoklch(47.33% 0.206 274.3)
XYZxyz(15.0170, 9.4625, 58.1501)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4043CC #CCC940
analogous
#4089CC #4043CC #8340CC
triadic
#4043CC #CC4043 #43CC40
tetradic
#4043CC #CC4089 #CCC940 #40CC83
square
#4043CC #CC4089 #CCC940 #40CC83
split-complementary
#4043CC #CC8340 #89CC40
monochromatic
#1F2073 #2C2EA3 #4043CC #7073D9 #A1A2E6

Accessibility & contrast

On white

7.26
#4043CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4043CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4043CC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4043CC#FFFFFF#000000##FFFFFF
##4043CC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4043cc;
/* rgb */ color: rgb(64, 67, 204);
/* oklch */ color: oklch(47.3% 0.206 274.3);
Tailwind
colors: {
  custom: {
    50: '#8778dd',
    500: '#4043cc',
    950: '#000000',
  },
}
SCSS
$custom: #4043cc;
$custom-light: #8778dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4043cc",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 238.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.20604,
    "h": 274.3
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#4043CC
secondary
#D2D195
accent
#DE47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4043CC

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

Preview Lab → · Contrast checker → · Palette generator →

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