#4033B5#4033B5

#4033B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.7% C 0.195 H 278.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4033B5
RGBrgb(64, 51, 181)
HSLhsl(246, 56%, 45%)
HSVhsv(246, 72%, 71%)
CMYKcmyk(64.6%, 71.8%, 0%, 29%)
CIE-LABlab(31.33, 44.26, -66.71)
CIE-LCHlch(31.33, 80.06, 303.56°)
OKLaboklab(42.71% 0.0295 -0.1925)
OKLCHoklch(42.71% 0.195 278.7)
XYZxyz(11.6360, 6.7929, 44.4051)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033B5 #A8B533
analogous
#3367B5 #4033B5 #8133B5
triadic
#4033B5 #B54033 #33B540
tetradic
#4033B5 #B53367 #A8B533 #33B581
square
#4033B5 #B53367 #A8B533 #33B581
split-complementary
#4033B5 #B58133 #67B533
monochromatic
#1E1856 #2F2685 #4033B5 #6256CF #8E86DD

Accessibility & contrast

On white

8.90
#4033B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4033B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033B5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033B5#FFFFFF#000000##FFFFFF
##4033B51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4033b5;
/* rgb */ color: rgb(64, 51, 181);
/* oklch */ color: oklch(42.7% 0.195 278.7);
Tailwind
colors: {
  custom: {
    50: '#846dcc',
    500: '#4033b5',
    950: '#000000',
  },
}
SCSS
$custom: #4033b5;
$custom-light: #846dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4033b5",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 246,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42707,
    "c": 0.19478,
    "h": 278.7
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#4033B5
secondary
#BFC67D
accent
#DF48D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4033B5

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

Preview Lab → · Contrast checker → · Palette generator →

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