#4033B7#4033B7

#4033B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.9% C 0.197 H 278.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4033B7
RGBrgb(64, 51, 183)
HSLhsl(246, 56%, 46%)
HSVhsv(246, 72%, 72%)
CMYKcmyk(65%, 72.1%, 0%, 28.2%)
CIE-LABlab(31.52, 44.90, -67.58)
CIE-LCHlch(31.52, 81.14, 303.60°)
OKLaboklab(42.9% 0.0291 -0.1951)
OKLCHoklch(42.9% 0.197 278.5)
XYZxyz(11.8427, 6.8756, 45.4936)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033B7 #AAB733
analogous
#3368B7 #4033B7 #8233B7
triadic
#4033B7 #B74033 #33B740
tetradic
#4033B7 #B73368 #AAB733 #33B782
square
#4033B7 #B73368 #AAB733 #33B782
split-complementary
#4033B7 #B78233 #68B733
monochromatic
#1F1857 #2F2687 #4033B7 #6357D0 #8F87DE

Accessibility & contrast

On white

8.84
#4033B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4033B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033B7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033B7#FFFFFF#000000##FFFFFF
##4033B71.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4033b7;
/* rgb */ color: rgb(64, 51, 183);
/* oklch */ color: oklch(42.9% 0.197 278.5);
Tailwind
colors: {
  custom: {
    50: '#846dce',
    500: '#4033b7',
    950: '#000000',
  },
}
SCSS
$custom: #4033b7;
$custom-light: #846dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4033b7",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 245.909,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.19725,
    "h": 278.5
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#4033B7
secondary
#C0C77F
accent
#E048D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4033B7

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

Preview Lab → · Contrast checker → · Palette generator →

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