#4039D6#4039D6

#4039D6 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.229 H 274.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4039D6
RGBrgb(64, 57, 214)
HSLhsl(243, 66%, 53%)
HSVhsv(243, 73%, 84%)
CMYKcmyk(70.1%, 73.4%, 0%, 16.1%)
CIE-LABlab(35.73, 51.42, -78.77)
CIE-LCHlch(35.73, 94.06, 303.14°)
OKLaboklab(46.8% 0.0197 -0.2277)
OKLCHoklch(46.8% 0.229 274.9)
XYZxyz(15.7111, 8.8698, 64.4893)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4039D6 #CFD639
analogous
#3980D6 #4039D6 #8E39D6
triadic
#4039D6 #D64039 #39D640
tetradic
#4039D6 #D63980 #CFD639 #39D68E
square
#4039D6 #D63980 #CFD639 #39D68E
split-complementary
#4039D6 #D68E39 #80D639
monochromatic
#1E197B #2A24AE #4039D6 #716CE0 #A29EEB

Accessibility & contrast

On white

7.57
#4039D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4039D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4039D6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4039D6#FFFFFF#000000##FFFFFF
##4039D61.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDB
Deuteranopia (green-blind)
#004DD3
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4039d6;
/* rgb */ color: rgb(64, 57, 214);
/* oklch */ color: oklch(46.8% 0.229 274.9);
Tailwind
colors: {
  custom: {
    50: '#8a72e4',
    500: '#4039d6',
    950: '#000000',
  },
}
SCSS
$custom: #4039d6;
$custom-light: #8a72e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4039d6",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 242.675,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46803,
    "c": 0.2286,
    "h": 274.9
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#4039D6
secondary
#D4D794
accent
#E93FE1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4039D6

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

Preview Lab → · Contrast checker → · Palette generator →

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