#3933A2#3933A2

#3933A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.172 H 277.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3933A2
RGBrgb(57, 51, 162)
HSLhsl(243, 52%, 42%)
HSVhsv(243, 69%, 64%)
CMYKcmyk(64.8%, 68.5%, 0%, 36.5%)
CIE-LABlab(29.02, 37.10, -59.13)
CIE-LCHlch(29.02, 69.81, 302.10°)
OKLaboklab(40.37% 0.0233 -0.1706)
OKLCHoklch(40.37% 0.172 277.8)
XYZxyz(9.3907, 5.8454, 34.8088)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3933A2 #9CA233
analogous
#3365A2 #3933A2 #7133A2
triadic
#3933A2 #A23933 #33A239
tetradic
#3933A2 #A23365 #9CA233 #33A271
square
#3933A2 #A23365 #9CA233 #33A271
split-complementary
#3933A2 #A27133 #65A233
monochromatic
#181645 #292473 #3933A2 #524CC7 #7F7AD5

Accessibility & contrast

On white

9.68
#3933A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3933A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3933A2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3933A2#FFFFFF#000000##FFFFFF
##3933A21.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3933a2;
/* rgb */ color: rgb(57, 51, 162);
/* oklch */ color: oklch(40.4% 0.172 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d6bbf',
    500: '#3933a2',
    950: '#000000',
  },
}
SCSS
$custom: #3933a2;
$custom-light: #7d6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3933a2",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 243.243,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.17216,
    "h": 277.8
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#3933A2
secondary
#BABE73
accent
#DC4CD4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3933A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3933A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva