#3A33B5#3A33B5

#3A33B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.3% C 0.196 H 276.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3A33B5
RGBrgb(58, 51, 181)
HSLhsl(243, 56%, 45%)
HSVhsv(243, 72%, 71%)
CMYKcmyk(68%, 71.8%, 0%, 29%)
CIE-LABlab(30.88, 43.53, -67.46)
CIE-LCHlch(30.88, 80.29, 302.83°)
OKLaboklab(42.27% 0.0216 -0.1949)
OKLCHoklch(42.27% 0.196 276.3)
XYZxyz(11.2665, 6.6024, 44.3878)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33B5 #AEB533
analogous
#336DB5 #3A33B5 #7B33B5
triadic
#3A33B5 #B53A33 #33B53A
tetradic
#3A33B5 #B5336D #AEB533 #33B57B
square
#3A33B5 #B5336D #AEB533 #33B57B
split-complementary
#3A33B5 #B57B33 #6DB533
monochromatic
#1B1856 #2B2685 #3A33B5 #5C56CF #8A86DD

Accessibility & contrast

On white

9.05
#3A33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3A33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33B5
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33B5#FFFFFF#000000##FFFFFF
##3A33B51.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a33b5;
/* rgb */ color: rgb(58, 51, 181);
/* oklch */ color: oklch(42.3% 0.196 276.3);
Tailwind
colors: {
  custom: {
    50: '#816ccc',
    500: '#3a33b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a33b5;
$custom-light: #816ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33b5",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 243.231,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.19609,
    "h": 276.3
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#3A33B5
secondary
#C2C67D
accent
#DF48D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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