#4032B3#4032B3

#4032B3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.4% C 0.193 H 279.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4032B3
RGBrgb(64, 50, 179)
HSLhsl(247, 56%, 45%)
HSVhsv(247, 72%, 70%)
CMYKcmyk(64.2%, 72.1%, 0%, 29.8%)
CIE-LABlab(30.94, 44.18, -66.17)
CIE-LCHlch(30.94, 79.56, 303.73°)
OKLaboklab(42.37% 0.0305 -0.1909)
OKLCHoklch(42.37% 0.193 279.1)
XYZxyz(11.3890, 6.6250, 43.3177)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4032B3 #A5B332
analogous
#3264B3 #4032B3 #8132B3
triadic
#4032B3 #B34032 #32B340
tetradic
#4032B3 #B33264 #A5B332 #32B381
square
#4032B3 #B33264 #A5B332 #32B381
split-complementary
#4032B3 #B38132 #64B332
monochromatic
#1E1753 #2F2583 #4032B3 #6153CF #8D83DC

Accessibility & contrast

On white

9.03
#4032B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4032B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4032B3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4032B3#FFFFFF#000000##FFFFFF
##4032B31.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4032b3;
/* rgb */ color: rgb(64, 50, 179);
/* oklch */ color: oklch(42.4% 0.193 279.1);
Tailwind
colors: {
  custom: {
    50: '#836ccb',
    500: '#4032b3',
    950: '#000000',
  },
}
SCSS
$custom: #4032b3;
$custom-light: #836ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#4032b3",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 246.512,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42368,
    "c": 0.19338,
    "h": 279.1
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#4032B3
secondary
#BEC67B
accent
#E048CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4032B3

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

Preview Lab → · Contrast checker → · Palette generator →

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