#3A33AF#3A33AF

#3A33AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.189 H 276.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3A33AF
RGBrgb(58, 51, 175)
HSLhsl(243, 55%, 44%)
HSVhsv(243, 71%, 69%)
CMYKcmyk(66.9%, 70.9%, 0%, 31.4%)
CIE-LABlab(30.31, 41.56, -64.84)
CIE-LCHlch(30.31, 77.01, 302.66°)
OKLaboklab(41.69% 0.0226 -0.1872)
OKLCHoklch(41.69% 0.189 276.9)
XYZxyz(10.6641, 6.3614, 41.2150)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33AF #A8AF33
analogous
#336AAF #3A33AF #7833AF
triadic
#3A33AF #AF3A33 #33AF3A
tetradic
#3A33AF #AF336A #A8AF33 #33AF78
square
#3A33AF #AF336A #A8AF33 #33AF78
split-complementary
#3A33AF #AF7833 #6AAF33
monochromatic
#1B1750 #2A2580 #3A33AF #5952CD #8782DB

Accessibility & contrast

On white

9.24
#3A33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3A33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33AF
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33AF#FFFFFF#000000##FFFFFF
##3A33AF1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a33af;
/* rgb */ color: rgb(58, 51, 175);
/* oklch */ color: oklch(41.7% 0.189 276.9);
Tailwind
colors: {
  custom: {
    50: '#806cc8',
    500: '#3a33af',
    950: '#000000',
  },
}
SCSS
$custom: #3a33af;
$custom-light: #806cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33af",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 243.387,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.18859,
    "h": 276.9
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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