#3A33B7#3A33B7

#3A33B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.5% C 0.199 H 276.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3A33B7
RGBrgb(58, 51, 183)
HSLhsl(243, 56%, 46%)
HSVhsv(243, 72%, 72%)
CMYKcmyk(68.3%, 72.1%, 0%, 28.2%)
CIE-LABlab(31.08, 44.18, -68.33)
CIE-LCHlch(31.08, 81.37, 302.89°)
OKLaboklab(42.47% 0.0212 -0.1974)
OKLCHoklch(42.47% 0.199 276.1)
XYZxyz(11.4732, 6.6851, 45.4763)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33B7 #B0B733
analogous
#336EB7 #3A33B7 #7C33B7
triadic
#3A33B7 #B73A33 #33B73A
tetradic
#3A33B7 #B7336E #B0B733 #33B77C
square
#3A33B7 #B7336E #B0B733 #33B77C
split-complementary
#3A33B7 #B77C33 #6EB733
monochromatic
#1C1857 #2B2687 #3A33B7 #5D57D0 #8B87DE

Accessibility & contrast

On white

8.99
#3A33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33B7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33B7#FFFFFF#000000##FFFFFF
##3A33B71.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a33b7;
/* rgb */ color: rgb(58, 51, 183);
/* oklch */ color: oklch(42.5% 0.199 276.1);
Tailwind
colors: {
  custom: {
    50: '#816cce',
    500: '#3a33b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a33b7;
$custom-light: #816cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33b7",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 243.182,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42471,
    "c": 0.19857,
    "h": 276.1
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#3A33B7
secondary
#C3C77F
accent
#E048D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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