#3333AD#3333AD

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

Color values

HEX#3333AD
RGBrgb(51, 51, 173)
HSLhsl(240, 54%, 44%)
HSVhsv(240, 71%, 68%)
CMYKcmyk(70.5%, 70.5%, 0%, 32.2%)
CIE-LABlab(29.63, 40.05, -64.77)
CIE-LCHlch(29.63, 76.15, 301.73°)
OKLaboklab(41.02% 0.0142 -0.1872)
OKLCHoklch(41.02% 0.188 274.3)
XYZxyz(10.0894, 6.0876, 40.1704)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333AD #ADAD33
analogous
#3370AD #3333AD #7033AD
triadic
#3333AD #AD3333 #33AD33
tetradic
#3333AD #AD3370 #ADAD33 #33AD70
square
#3333AD #AD3370 #ADAD33 #33AD70
split-complementary
#3333AD #AD7033 #70AD33
monochromatic
#17174E #25257E #3333AD #5151CC #8181DA

Accessibility & contrast

On white

9.47
#3333AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3333AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333AD
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333AD#FFFFFF#000000##FFFFFF
##3333AD1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3333ad;
/* rgb */ color: rgb(51, 51, 173);
/* oklch */ color: oklch(41.0% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#7c6cc7',
    500: '#3333ad',
    950: '#000000',
  },
}
SCSS
$custom: #3333ad;
$custom-light: #7c6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3333ad",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41018,
    "c": 0.18774,
    "h": 274.3
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333AD

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

Preview Lab → · Contrast checker → · Palette generator →

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