#3A33D1#3A33D1

#3A33D1 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.230 H 274.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3A33D1
RGBrgb(58, 51, 209)
HSLhsl(243, 63%, 51%)
HSVhsv(243, 76%, 82%)
CMYKcmyk(72.2%, 75.6%, 0%, 18%)
CIE-LABlab(33.71, 52.49, -79.23)
CIE-LCHlch(33.71, 95.04, 303.53°)
OKLaboklab(45.12% 0.0162 -0.2292)
OKLCHoklch(45.12% 0.23 274)
XYZxyz(14.4335, 7.8692, 61.0675)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33D1 #CAD133
analogous
#337BD1 #3A33D1 #8933D1
triadic
#3A33D1 #D13A33 #33D13A
tetradic
#3A33D1 #D1337B #CAD133 #33D189
square
#3A33D1 #D1337B #CAD133 #33D189
split-complementary
#3A33D1 #D18933 #7BD133
monochromatic
#1D1970 #2A25A2 #3A33D1 #6A65DC #9A97E8

Accessibility & contrast

On white

8.16
#3A33D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A33D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33D1
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33D1#FFFFFF#000000##FFFFFF
##3A33D11.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D6
Deuteranopia (green-blind)
#0048CE
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a33d1;
/* rgb */ color: rgb(58, 51, 209);
/* oklch */ color: oklch(45.1% 0.230 274.0);
Tailwind
colors: {
  custom: {
    50: '#876de1',
    500: '#3a33d1',
    950: '#000000',
  },
}
SCSS
$custom: #3a33d1;
$custom-light: #876de1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33d1",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 209
  },
  "hsl": {
    "h": 242.658,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4512,
    "c": 0.22976,
    "h": 274
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#3A33D1
secondary
#D0D38D
accent
#E642DF
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3A33D1

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

Preview Lab → · Contrast checker → · Palette generator →

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