#4033CA#4033CA

#4033CA is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.8% C 0.220 H 276.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4033CA
RGBrgb(64, 51, 202)
HSLhsl(245, 60%, 50%)
HSVhsv(245, 75%, 79%)
CMYKcmyk(68.3%, 74.8%, 0%, 20.8%)
CIE-LABlab(33.39, 50.87, -75.67)
CIE-LCHlch(33.39, 91.18, 303.91°)
OKLaboklab(44.79% 0.0252 -0.2187)
OKLCHoklch(44.79% 0.22 276.6)
XYZxyz(13.9554, 7.7206, 56.6205)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4033CA #BDCA33
analogous
#3371CA #4033CA #8C33CA
triadic
#4033CA #CA4033 #33CA40
tetradic
#4033CA #CA3371 #BDCA33 #33CA8C
square
#4033CA #CA3371 #BDCA33 #33CA8C
split-complementary
#4033CA #CA8C33 #71CA33
monochromatic
#211A68 #312799 #4033CA #6D63D8 #9A94E4

Accessibility & contrast

On white

8.25
#4033CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4033CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4033CA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4033CA#FFFFFF#000000##FFFFFF
##4033CA1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4033ca;
/* rgb */ color: rgb(64, 51, 202);
/* oklch */ color: oklch(44.8% 0.220 276.6);
Tailwind
colors: {
  custom: {
    50: '#886ddb',
    500: '#4033ca',
    950: '#000000',
  },
}
SCSS
$custom: #4033ca;
$custom-light: #886ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4033ca",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 245.166,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.22013,
    "h": 276.6
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#4033CA
secondary
#C9CF8A
accent
#E345D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4033CA

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

Preview Lab → · Contrast checker → · Palette generator →

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