#4032B8#4032B8

#4032B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.9% C 0.200 H 278.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4032B8
RGBrgb(64, 50, 184)
HSLhsl(246, 57%, 46%)
HSVhsv(246, 73%, 72%)
CMYKcmyk(65.2%, 72.8%, 0%, 27.8%)
CIE-LABlab(31.42, 45.77, -68.35)
CIE-LCHlch(31.42, 82.26, 303.81°)
OKLaboklab(42.86% 0.0296 -0.1973)
OKLCHoklch(42.86% 0.2 278.5)
XYZxyz(11.9039, 6.8309, 46.0293)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032B8 #AAB832
analogous
#3267B8 #4032B8 #8332B8
triadic
#4032B8 #B84032 #32B840
tetradic
#4032B8 #B83267 #AAB832 #32B883
square
#4032B8 #B83267 #AAB832 #32B883
split-complementary
#4032B8 #B88332 #67B832
monochromatic
#1F1858 #2F2588 #4032B8 #6356D1 #8F86DE

Accessibility & contrast

On white

8.87
#4032B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4032B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032B8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032B8#FFFFFF#000000##FFFFFF
##4032B81.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4032b8;
/* rgb */ color: rgb(64, 50, 184);
/* oklch */ color: oklch(42.9% 0.200 278.5);
Tailwind
colors: {
  custom: {
    50: '#846ccf',
    500: '#4032b8',
    950: '#000000',
  },
}
SCSS
$custom: #4032b8;
$custom-light: #846ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#4032b8",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 246.269,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.19952,
    "h": 278.5
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#4032B8
secondary
#C0C87E
accent
#E147D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4032B8

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

Preview Lab → · Contrast checker → · Palette generator →

#4032B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva