#4039B9#4039B9

#4039B9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.193 H 277.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4039B9
RGBrgb(64, 57, 185)
HSLhsl(243, 53%, 47%)
HSVhsv(243, 69%, 73%)
CMYKcmyk(65.4%, 69.2%, 0%, 27.5%)
CIE-LABlab(32.96, 42.10, -66.41)
CIE-LCHlch(32.96, 78.63, 302.37°)
OKLaboklab(43.99% 0.0246 -0.1917)
OKLCHoklch(43.99% 0.193 277.3)
XYZxyz(12.3316, 7.5180, 46.6908)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4039B9 #B2B939
analogous
#3972B9 #4039B9 #8039B9
triadic
#4039B9 #B94039 #39B940
tetradic
#4039B9 #B93972 #B2B939 #39B980
square
#4039B9 #B93972 #B2B939 #39B980
split-complementary
#4039B9 #B98039 #72B939
monochromatic
#201C5B #302B8A #4039B9 #6761CE #9490DD

Accessibility & contrast

On white

8.39
#4039B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4039B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4039B9
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4039B9#FFFFFF#000000##FFFFFF
##4039B91.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4039b9;
/* rgb */ color: rgb(64, 57, 185);
/* oklch */ color: oklch(44.0% 0.193 277.3);
Tailwind
colors: {
  custom: {
    50: '#8471cf',
    500: '#4039b9',
    950: '#000000',
  },
}
SCSS
$custom: #4039b9;
$custom-light: #8471cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4039b9",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 243.281,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43985,
    "c": 0.19324,
    "h": 277.3
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#4039B9
secondary
#C4C886
accent
#DC4BD4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4039B9

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

Preview Lab → · Contrast checker → · Palette generator →

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