#4033C9#4033C9

#4033C9 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.219 H 276.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4033C9
RGBrgb(64, 51, 201)
HSLhsl(245, 60%, 49%)
HSVhsv(245, 75%, 79%)
CMYKcmyk(68.2%, 74.6%, 0%, 21.2%)
CIE-LABlab(33.29, 50.56, -75.25)
CIE-LCHlch(33.29, 90.66, 303.90°)
OKLaboklab(44.69% 0.0254 -0.2175)
OKLCHoklch(44.69% 0.219 276.7)
XYZxyz(13.8374, 7.6734, 55.9989)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033C9 #BCC933
analogous
#3371C9 #4033C9 #8B33C9
triadic
#4033C9 #C94033 #33C940
tetradic
#4033C9 #C93371 #BCC933 #33C98B
square
#4033C9 #C93371 #BCC933 #33C98B
split-complementary
#4033C9 #C98B33 #71C933
monochromatic
#211A67 #302798 #4033C9 #6C62D7 #9A93E4

Accessibility & contrast

On white

8.28
#4033C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4033C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033C9
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033C9#FFFFFF#000000##FFFFFF
##4033C91.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4033c9;
/* rgb */ color: rgb(64, 51, 201);
/* oklch */ color: oklch(44.7% 0.219 276.7);
Tailwind
colors: {
  custom: {
    50: '#886ddb',
    500: '#4033c9',
    950: '#000000',
  },
}
SCSS
$custom: #4033c9;
$custom-light: #886ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4033c9",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 245.2,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44689,
    "c": 0.21895,
    "h": 276.7
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#4033C9
secondary
#C9CF89
accent
#E345D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4033C9

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

Preview Lab → · Contrast checker → · Palette generator →

#4033C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva