#3A33A2#3A33A2

#3A33A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.172 H 278.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3A33A2
RGBrgb(58, 51, 162)
HSLhsl(244, 52%, 42%)
HSVhsv(244, 69%, 64%)
CMYKcmyk(64.2%, 68.5%, 0%, 36.5%)
CIE-LABlab(29.10, 37.24, -59.01)
CIE-LCHlch(29.10, 69.78, 302.26°)
OKLaboklab(40.45% 0.0246 -0.1702)
OKLCHoklch(40.45% 0.172 278.2)
XYZxyz(9.4482, 5.8751, 34.8115)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33A2 #9BA233
analogous
#3364A2 #3A33A2 #7233A2
triadic
#3A33A2 #A23A33 #33A23A
tetradic
#3A33A2 #A23364 #9BA233 #33A272
square
#3A33A2 #A23364 #9BA233 #33A272
split-complementary
#3A33A2 #A27233 #64A233
monochromatic
#191645 #292473 #3A33A2 #534CC7 #807AD5

Accessibility & contrast

On white

9.65
#3A33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3A33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33A2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33A2#FFFFFF#000000##FFFFFF
##3A33A21.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a33a2;
/* rgb */ color: rgb(58, 51, 162);
/* oklch */ color: oklch(40.4% 0.172 278.2);
Tailwind
colors: {
  custom: {
    50: '#7d6cbf',
    500: '#3a33a2',
    950: '#000000',
  },
}
SCSS
$custom: #3a33a2;
$custom-light: #7d6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33a2",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 243.784,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.17195,
    "h": 278.2
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#3A33A2
secondary
#B9BE73
accent
#DC4CD3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3A33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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