#3333AE#3333AE

#3333AE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.189 H 274.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3333AE
RGBrgb(51, 51, 174)
HSLhsl(240, 55%, 44%)
HSVhsv(240, 71%, 68%)
CMYKcmyk(70.7%, 70.7%, 0%, 31.8%)
CIE-LABlab(29.73, 40.39, -65.21)
CIE-LCHlch(29.73, 76.70, 301.78°)
OKLaboklab(41.12% 0.014 -0.1885)
OKLCHoklch(41.12% 0.189 274.3)
XYZxyz(10.1865, 6.1265, 40.6819)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333AE #AEAE33
analogous
#3371AE #3333AE #7133AE
triadic
#3333AE #AE3333 #33AE33
tetradic
#3333AE #AE3371 #AEAE33 #33AE71
square
#3333AE #AE3371 #AEAE33 #33AE71
split-complementary
#3333AE #AE7133 #71AE33
monochromatic
#17174F #25257F #3333AE #5252CC #8181DA

Accessibility & contrast

On white

9.44
#3333AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3333AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333AE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333AE#FFFFFF#000000##FFFFFF
##3333AE1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3333ae;
/* rgb */ color: rgb(51, 51, 174);
/* oklch */ color: oklch(41.1% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#7d6cc7',
    500: '#3333ae',
    950: '#000000',
  },
}
SCSS
$custom: #3333ae;
$custom-light: #7d6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3333ae",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.18901,
    "h": 274.3
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#3333AE
secondary
#C3C379
accent
#DE4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3333AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3333AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva