#3A33AC#3A33AC

#3A33AC is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.185 H 277.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3A33AC
RGBrgb(58, 51, 172)
HSLhsl(243, 54%, 44%)
HSVhsv(243, 70%, 67%)
CMYKcmyk(66.3%, 70.3%, 0%, 32.5%)
CIE-LABlab(30.02, 40.57, -63.51)
CIE-LCHlch(30.02, 75.36, 302.57°)
OKLaboklab(41.4% 0.0231 -0.1834)
OKLCHoklch(41.4% 0.185 277.2)
XYZxyz(10.3727, 6.2449, 39.6805)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33AC #A5AC33
analogous
#3368AC #3A33AC #7633AC
triadic
#3A33AC #AC3A33 #33AC3A
tetradic
#3A33AC #AC3368 #A5AC33 #33AC76
square
#3A33AC #AC3368 #A5AC33 #33AC76
split-complementary
#3A33AC #AC7633 #68AC33
monochromatic
#1A174E #2A257D #3A33AC #5851CB #8580D9

Accessibility & contrast

On white

9.34
#3A33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33AC
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33AC#FFFFFF#000000##FFFFFF
##3A33AC1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a33ac;
/* rgb */ color: rgb(58, 51, 172);
/* oklch */ color: oklch(41.4% 0.185 277.2);
Tailwind
colors: {
  custom: {
    50: '#7f6cc6',
    500: '#3a33ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a33ac;
$custom-light: #7f6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33ac",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 243.471,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.1848,
    "h": 277.2
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#3A33AC
secondary
#BEC278
accent
#DE4AD5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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