#3A33C1#3A33C1

#3A33C1 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.211 H 275.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3A33C1
RGBrgb(58, 51, 193)
HSLhsl(243, 58%, 48%)
HSVhsv(243, 74%, 76%)
CMYKcmyk(69.9%, 73.6%, 0%, 24.3%)
CIE-LABlab(32.07, 47.42, -72.60)
CIE-LCHlch(32.07, 86.71, 303.15°)
OKLaboklab(43.47% 0.0194 -0.2099)
OKLCHoklch(43.47% 0.211 275.3)
XYZxyz(12.5512, 7.1163, 51.1539)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33C1 #BAC133
analogous
#3373C1 #3A33C1 #8133C1
triadic
#3A33C1 #C13A33 #33C13A
tetradic
#3A33C1 #C13373 #BAC133 #33C181
square
#3A33C1 #C13373 #BAC133 #33C181
split-complementary
#3A33C1 #C18133 #73C133
monochromatic
#1D1960 #2B2691 #3A33C1 #635DD4 #928DE1

Accessibility & contrast

On white

8.67
#3A33C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A33C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33C1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33C1#FFFFFF#000000##FFFFFF
##3A33C11.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0045BE
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a33c1;
/* rgb */ color: rgb(58, 51, 193);
/* oklch */ color: oklch(43.5% 0.211 275.3);
Tailwind
colors: {
  custom: {
    50: '#846dd5',
    500: '#3a33c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a33c1;
$custom-light: #846dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33c1",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 242.958,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43474,
    "c": 0.21078,
    "h": 275.3
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#3A33C1
secondary
#C8CB84
accent
#E146DA
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A33C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3A33C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva