#4033B2#4033B2

#4033B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.191 H 279.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4033B2
RGBrgb(64, 51, 178)
HSLhsl(246, 55%, 45%)
HSVhsv(246, 71%, 70%)
CMYKcmyk(64%, 71.3%, 0%, 30.2%)
CIE-LABlab(31.05, 43.30, -65.39)
CIE-LCHlch(31.05, 78.43, 303.51°)
OKLaboklab(42.42% 0.03 -0.1887)
OKLCHoklch(42.42% 0.191 279)
XYZxyz(11.3315, 6.6711, 42.8014)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033B2 #A5B233
analogous
#3365B2 #4033B2 #8033B2
triadic
#4033B2 #B24033 #33B240
tetradic
#4033B2 #B23365 #A5B233 #33B280
square
#4033B2 #B23365 #A5B233 #33B280
split-complementary
#4033B2 #B28033 #65B233
monochromatic
#1E1853 #2F2582 #4033B2 #6154CE #8D84DC

Accessibility & contrast

On white

9.00
#4033B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4033B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033B2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033B2#FFFFFF#000000##FFFFFF
##4033B21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4033b2;
/* rgb */ color: rgb(64, 51, 178);
/* oklch */ color: oklch(42.4% 0.191 279.0);
Tailwind
colors: {
  custom: {
    50: '#836cca',
    500: '#4033b2',
    950: '#000000',
  },
}
SCSS
$custom: #4033b2;
$custom-light: #836cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4033b2",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 246.142,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.19106,
    "h": 279
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#4033B2
secondary
#BEC57C
accent
#DF49CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4033B2

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

Preview Lab → · Contrast checker → · Palette generator →

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