#4039BC#4039BC

#4039BC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.3% C 0.197 H 277.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4039BC
RGBrgb(64, 57, 188)
HSLhsl(243, 53%, 48%)
HSVhsv(243, 70%, 74%)
CMYKcmyk(66%, 69.7%, 0%, 26.3%)
CIE-LABlab(33.23, 43.08, -67.72)
CIE-LCHlch(33.23, 80.26, 302.46°)
OKLaboklab(44.27% 0.0242 -0.1955)
OKLCHoklch(44.27% 0.197 277)
XYZxyz(12.6516, 7.6460, 48.3763)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4039BC #B5BC39
analogous
#3973BC #4039BC #8139BC
triadic
#4039BC #BC4039 #39BC40
tetradic
#4039BC #BC3973 #B5BC39 #39BC81
square
#4039BC #BC3973 #B5BC39 #39BC81
split-complementary
#4039BC #BC8139 #73BC39
monochromatic
#201D5E #302B8D #4039BC #6863D0 #9692DE

Accessibility & contrast

On white

8.30
#4039BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4039BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4039BC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4039BC#FFFFFF#000000##FFFFFF
##4039BC1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4039bc;
/* rgb */ color: rgb(64, 57, 188);
/* oklch */ color: oklch(44.3% 0.197 277.0);
Tailwind
colors: {
  custom: {
    50: '#8571d1',
    500: '#4039bc',
    950: '#000000',
  },
}
SCSS
$custom: #4039bc;
$custom-light: #8571d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4039bc",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 243.206,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.19701,
    "h": 277
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#4039BC
secondary
#C5C988
accent
#DD4BD5
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4039BC

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

Preview Lab → · Contrast checker → · Palette generator →

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