#4033D5#4033D5

#4033D5 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.233 H 275.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4033D5
RGBrgb(64, 51, 213)
HSLhsl(245, 66%, 52%)
HSVhsv(245, 76%, 84%)
CMYKcmyk(70%, 76.1%, 0%, 16.5%)
CIE-LABlab(34.52, 54.26, -80.19)
CIE-LCHlch(34.52, 96.83, 304.08°)
OKLaboklab(45.92% 0.0228 -0.2318)
OKLCHoklch(45.92% 0.233 275.6)
XYZxyz(15.3045, 8.2603, 63.7257)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033D5 #C8D533
analogous
#3377D5 #4033D5 #9133D5
triadic
#4033D5 #D54033 #33D540
tetradic
#4033D5 #D53377 #C8D533 #33D591
square
#4033D5 #D53377 #C8D533 #33D591
split-complementary
#4033D5 #D59133 #77D533
monochromatic
#201875 #2D23A8 #4033D5 #7066DF #9F99EA

Accessibility & contrast

On white

7.92
#4033D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4033D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033D5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033D5#FFFFFF#000000##FFFFFF
##4033D51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DA
Deuteranopia (green-blind)
#004AD2
Tritanopia (blue-blind)
#006383
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4033d5;
/* rgb */ color: rgb(64, 51, 213);
/* oklch */ color: oklch(45.9% 0.233 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a6ee3',
    500: '#4033d5',
    950: '#000000',
  },
}
SCSS
$custom: #4033d5;
$custom-light: #8a6ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4033d5",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 213
  },
  "hsl": {
    "h": 244.815,
    "s": 65.854,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.23297,
    "h": 275.6
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#4033D5
secondary
#D0D58E
accent
#E93FDB
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4033D5

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

Preview Lab → · Contrast checker → · Palette generator →

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