#4033BA#4033BA

#4033BA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.2% C 0.201 H 278.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4033BA
RGBrgb(64, 51, 186)
HSLhsl(246, 57%, 46%)
HSVhsv(246, 73%, 73%)
CMYKcmyk(65.6%, 72.6%, 0%, 27.1%)
CIE-LABlab(31.81, 45.85, -68.88)
CIE-LCHlch(31.81, 82.75, 303.65°)
OKLaboklab(43.19% 0.0285 -0.1989)
OKLCHoklch(43.19% 0.201 278.2)
XYZxyz(12.1582, 7.0018, 47.1556)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033BA #ADBA33
analogous
#336ABA #4033BA #8433BA
triadic
#4033BA #BA4033 #33BA40
tetradic
#4033BA #BA336A #ADBA33 #33BA84
square
#4033BA #BA336A #ADBA33 #33BA84
split-complementary
#4033BA #BA8433 #6ABA33
monochromatic
#1F195A #2F268A #4033BA #6459D1 #9189DF

Accessibility & contrast

On white

8.75
#4033BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4033BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033BA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033BA#FFFFFF#000000##FFFFFF
##4033BA1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0045B8
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4033ba;
/* rgb */ color: rgb(64, 51, 186);
/* oklch */ color: oklch(43.2% 0.201 278.2);
Tailwind
colors: {
  custom: {
    50: '#856dd0',
    500: '#4033ba',
    950: '#000000',
  },
}
SCSS
$custom: #4033ba;
$custom-light: #856dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4033ba",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 245.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.20092,
    "h": 278.2
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#4033BA
secondary
#C2C980
accent
#E048D2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4033BA

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

Preview Lab → · Contrast checker → · Palette generator →

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