#4033C1#4033C1

#4033C1 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.209 H 277.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4033C1
RGBrgb(64, 51, 193)
HSLhsl(245, 58%, 48%)
HSVhsv(245, 74%, 76%)
CMYKcmyk(66.8%, 73.6%, 0%, 24.3%)
CIE-LABlab(32.50, 48.06, -71.88)
CIE-LCHlch(32.50, 86.47, 303.77°)
OKLaboklab(43.89% 0.0271 -0.2076)
OKLCHoklch(43.89% 0.209 277.4)
XYZxyz(12.9207, 7.3068, 51.1712)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033C1 #B4C133
analogous
#336DC1 #4033C1 #8733C1
triadic
#4033C1 #C14033 #33C140
tetradic
#4033C1 #C1336D #B4C133 #33C187
square
#4033C1 #C1336D #B4C133 #33C187
split-complementary
#4033C1 #C18733 #6DC133
monochromatic
#201960 #302691 #4033C1 #685DD4 #958DE1

Accessibility & contrast

On white

8.53
#4033C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4033C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033C1
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033C1#FFFFFF#000000##FFFFFF
##4033C11.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4033c1;
/* rgb */ color: rgb(64, 51, 193);
/* oklch */ color: oklch(43.9% 0.209 277.4);
Tailwind
colors: {
  custom: {
    50: '#866dd5',
    500: '#4033c1',
    950: '#000000',
  },
}
SCSS
$custom: #4033c1;
$custom-light: #866dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4033c1",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 245.493,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.20941,
    "h": 277.4
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#4033C1
secondary
#C5CB84
accent
#E146D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4033C1

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

Preview Lab → · Contrast checker → · Palette generator →

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