#4039C3#4039C3

#4039C3 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.9% C 0.206 H 276.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4039C3
RGBrgb(64, 57, 195)
HSLhsl(243, 55%, 49%)
HSVhsv(243, 71%, 76%)
CMYKcmyk(67.2%, 70.8%, 0%, 23.5%)
CIE-LABlab(33.89, 45.35, -70.76)
CIE-LCHlch(33.89, 84.05, 302.65°)
OKLaboklab(44.94% 0.023 -0.2044)
OKLCHoklch(44.94% 0.206 276.4)
XYZxyz(13.4246, 7.9552, 52.4472)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4039C3 #BCC339
analogous
#3977C3 #4039C3 #8539C3
triadic
#4039C3 #C34039 #39C340
tetradic
#4039C3 #C33977 #BCC339 #39C385
square
#4039C3 #C33977 #BCC339 #39C385
split-complementary
#4039C3 #C38539 #77C339
monochromatic
#211D64 #302B94 #4039C3 #6C67D2 #9A96E0

Accessibility & contrast

On white

8.10
#4039C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4039C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4039C3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4039C3#FFFFFF#000000##FFFFFF
##4039C31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4039c3;
/* rgb */ color: rgb(64, 57, 195);
/* oklch */ color: oklch(44.9% 0.206 276.4);
Tailwind
colors: {
  custom: {
    50: '#8671d6',
    500: '#4039c3',
    950: '#000000',
  },
}
SCSS
$custom: #4039c3;
$custom-light: #8671d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4039c3",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 243.043,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44936,
    "c": 0.20569,
    "h": 276.4
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#4039C3
secondary
#C9CC8C
accent
#DE4AD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4039C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4039C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva