#4039DA#4039DA

#4039DA is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.2% C 0.233 H 274.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4039DA
RGBrgb(64, 57, 218)
HSLhsl(243, 69%, 54%)
HSVhsv(243, 74%, 85%)
CMYKcmyk(70.6%, 73.9%, 0%, 14.5%)
CIE-LABlab(36.13, 52.68, -80.41)
CIE-LCHlch(36.13, 96.13, 303.23°)
OKLaboklab(47.2% 0.0189 -0.2325)
OKLCHoklch(47.2% 0.233 274.6)
XYZxyz(16.2282, 9.0766, 67.2128)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4039DA #D3DA39
analogous
#3983DA #4039DA #9139DA
triadic
#4039DA #DA4039 #39DA40
tetradic
#4039DA #DA3983 #D3DA39 #39DA91
square
#4039DA #DA3983 #D3DA39 #39DA91
split-complementary
#4039DA #DA9139 #83DA39
monochromatic
#1D1881 #2822B4 #4039DA #726DE4 #A3A0ED

Accessibility & contrast

On white

7.46
#4039DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4039DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4039DA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4039DA#FFFFFF#000000##FFFFFF
##4039DA1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDF
Deuteranopia (green-blind)
#004DD7
Tritanopia (blue-blind)
#006887
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4039da;
/* rgb */ color: rgb(64, 57, 218);
/* oklch */ color: oklch(47.2% 0.233 274.6);
Tailwind
colors: {
  custom: {
    50: '#8b72e7',
    500: '#4039da',
    950: '#000000',
  },
}
SCSS
$custom: #4039da;
$custom-light: #8b72e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4039da",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 242.609,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.23331,
    "h": 274.6
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#4039DA
secondary
#D7DA95
accent
#EB3CE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4039DA

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

Preview Lab → · Contrast checker → · Palette generator →

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