#4033B9#4033B9

#4033B9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.1% C 0.200 H 278.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4033B9
RGBrgb(64, 51, 185)
HSLhsl(246, 57%, 46%)
HSVhsv(246, 72%, 73%)
CMYKcmyk(65.4%, 72.4%, 0%, 27.5%)
CIE-LABlab(31.71, 45.53, -68.45)
CIE-LCHlch(31.71, 82.21, 303.63°)
OKLaboklab(43.1% 0.0287 -0.1976)
OKLCHoklch(43.1% 0.2 278.3)
XYZxyz(12.0523, 6.9594, 46.5977)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033B9 #ACB933
analogous
#3369B9 #4033B9 #8333B9
triadic
#4033B9 #B94033 #33B940
tetradic
#4033B9 #B93369 #ACB933 #33B983
square
#4033B9 #B93369 #ACB933 #33B983
split-complementary
#4033B9 #B98333 #69B933
monochromatic
#1F1959 #2F2689 #4033B9 #6458D1 #9188DE

Accessibility & contrast

On white

8.78
#4033B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4033B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033B9
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033B9#FFFFFF#000000##FFFFFF
##4033B91.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4033b9;
/* rgb */ color: rgb(64, 51, 185);
/* oklch */ color: oklch(43.1% 0.200 278.3);
Tailwind
colors: {
  custom: {
    50: '#846dcf',
    500: '#4033b9',
    950: '#000000',
  },
}
SCSS
$custom: #4033b9;
$custom-light: #846dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4033b9",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 245.821,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43096,
    "c": 0.1997,
    "h": 278.3
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#4033B9
secondary
#C1C880
accent
#E048D1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4033B9

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

Preview Lab → · Contrast checker → · Palette generator →

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