#3A33AE#3A33AE

#3A33AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.187 H 277.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3A33AE
RGBrgb(58, 51, 174)
HSLhsl(243, 55%, 44%)
HSVhsv(243, 71%, 68%)
CMYKcmyk(66.7%, 70.7%, 0%, 31.8%)
CIE-LABlab(30.21, 41.23, -64.40)
CIE-LCHlch(30.21, 76.46, 302.63°)
OKLaboklab(41.59% 0.0228 -0.1859)
OKLCHoklch(41.59% 0.187 277)
XYZxyz(10.5662, 6.3223, 40.6997)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33AE #A7AE33
analogous
#336AAE #3A33AE #7833AE
triadic
#3A33AE #AE3A33 #33AE3A
tetradic
#3A33AE #AE336A #A7AE33 #33AE78
square
#3A33AE #AE336A #A7AE33 #33AE78
split-complementary
#3A33AE #AE7833 #6AAE33
monochromatic
#1A174F #2A257F #3A33AE #5952CC #8681DA

Accessibility & contrast

On white

9.27
#3A33AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3A33AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33AE
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33AE#FFFFFF#000000##FFFFFF
##3A33AE1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a33ae;
/* rgb */ color: rgb(58, 51, 174);
/* oklch */ color: oklch(41.6% 0.187 277.0);
Tailwind
colors: {
  custom: {
    50: '#7f6cc7',
    500: '#3a33ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a33ae;
$custom-light: #7f6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33ae",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 243.415,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.18733,
    "h": 277
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#3A33AE
secondary
#BFC379
accent
#DE4AD6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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