#4033D1#4033D1

#4033D1 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.5% C 0.228 H 276.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4033D1
RGBrgb(64, 51, 209)
HSLhsl(245, 63%, 51%)
HSVhsv(245, 76%, 82%)
CMYKcmyk(69.4%, 75.6%, 0%, 18%)
CIE-LABlab(34.11, 53.04, -78.56)
CIE-LCHlch(34.11, 94.79, 304.02°)
OKLaboklab(45.5% 0.0237 -0.2271)
OKLCHoklch(45.5% 0.228 276)
XYZxyz(14.8030, 8.0597, 61.0848)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033D1 #C4D133
analogous
#3375D1 #4033D1 #8F33D1
triadic
#4033D1 #D14033 #33D140
tetradic
#4033D1 #D13375 #C4D133 #33D18F
square
#4033D1 #D13375 #C4D133 #33D18F
split-complementary
#4033D1 #D18F33 #75D133
monochromatic
#201970 #2F25A2 #4033D1 #6F65DC #9E97E8

Accessibility & contrast

On white

8.04
#4033D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4033D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033D1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033D1#FFFFFF#000000##FFFFFF
##4033D11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D6
Deuteranopia (green-blind)
#0049CE
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4033d1;
/* rgb */ color: rgb(64, 51, 209);
/* oklch */ color: oklch(45.5% 0.228 276.0);
Tailwind
colors: {
  custom: {
    50: '#896ee0',
    500: '#4033d1',
    950: '#000000',
  },
}
SCSS
$custom: #4033d1;
$custom-light: #896ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4033d1",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 209
  },
  "hsl": {
    "h": 244.937,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.22833,
    "h": 276
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#4033D1
secondary
#CDD38D
accent
#E642D9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #4033D1

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

Preview Lab → · Contrast checker → · Palette generator →

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