#3A33B3#3A33B3

#3A33B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.1% C 0.194 H 276.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3A33B3
RGBrgb(58, 51, 179)
HSLhsl(243, 56%, 45%)
HSVhsv(243, 72%, 70%)
CMYKcmyk(67.6%, 71.5%, 0%, 29.8%)
CIE-LABlab(30.69, 42.87, -66.59)
CIE-LCHlch(30.69, 79.20, 302.77°)
OKLaboklab(42.08% 0.0219 -0.1924)
OKLCHoklch(42.08% 0.194 276.5)
XYZxyz(11.0628, 6.5209, 43.3147)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33B3 #ACB333
analogous
#336CB3 #3A33B3 #7A33B3
triadic
#3A33B3 #B33A33 #33B33A
tetradic
#3A33B3 #B3336C #ACB333 #33B37A
square
#3A33B3 #B3336C #ACB333 #33B37A
split-complementary
#3A33B3 #B37A33 #6CB333
monochromatic
#1B1854 #2B2583 #3A33B3 #5B55CE #8984DC

Accessibility & contrast

On white

9.11
#3A33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33B3
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33B3#FFFFFF#000000##FFFFFF
##3A33B31.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a33b3;
/* rgb */ color: rgb(58, 51, 179);
/* oklch */ color: oklch(42.1% 0.194 276.5);
Tailwind
colors: {
  custom: {
    50: '#816ccb',
    500: '#3a33b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a33b3;
$custom-light: #816ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33b3",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 243.281,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.19361,
    "h": 276.5
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#3A33B3
secondary
#C2C67C
accent
#DF49D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3A33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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