#4033D2#4033D2

#4033D2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.6% C 0.229 H 275.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4033D2
RGBrgb(64, 51, 210)
HSLhsl(245, 64%, 51%)
HSVhsv(245, 76%, 82%)
CMYKcmyk(69.5%, 75.7%, 0%, 17.6%)
CIE-LABlab(34.21, 53.34, -78.97)
CIE-LCHlch(34.21, 95.30, 304.04°)
OKLaboklab(45.61% 0.0235 -0.2283)
OKLCHoklch(45.61% 0.229 275.9)
XYZxyz(14.9272, 8.1094, 61.7389)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033D2 #C5D233
analogous
#3375D2 #4033D2 #8F33D2
triadic
#4033D2 #D24033 #33D240
tetradic
#4033D2 #D23375 #C5D233 #33D28F
square
#4033D2 #D23375 #C5D233 #33D28F
split-complementary
#4033D2 #D28F33 #75D233
monochromatic
#201972 #2F24A4 #4033D2 #6F65DD #9E97E8

Accessibility & contrast

On white

8.01
#4033D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4033D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033D2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033D2#FFFFFF#000000##FFFFFF
##4033D21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D7
Deuteranopia (green-blind)
#0049CF
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4033d2;
/* rgb */ color: rgb(64, 51, 210);
/* oklch */ color: oklch(45.6% 0.229 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a6ee1',
    500: '#4033d2',
    950: '#000000',
  },
}
SCSS
$custom: #4033d2;
$custom-light: #8a6ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4033d2",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 244.906,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.22949,
    "h": 275.9
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#4033D2
secondary
#CED48D
accent
#E741D9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #4033D2

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

Preview Lab → · Contrast checker → · Palette generator →

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