#3333AC#3333AC

#3333AC is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.186 H 274.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3333AC
RGBrgb(51, 51, 172)
HSLhsl(240, 54%, 44%)
HSVhsv(240, 70%, 67%)
CMYKcmyk(70.3%, 70.3%, 0%, 32.5%)
CIE-LABlab(29.54, 39.71, -64.33)
CIE-LCHlch(29.54, 75.60, 301.69°)
OKLaboklab(40.92% 0.0143 -0.1859)
OKLCHoklch(40.92% 0.186 274.4)
XYZxyz(9.9930, 6.0491, 39.6627)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333AC #ACAC33
analogous
#336FAC #3333AC #6F33AC
triadic
#3333AC #AC3333 #33AC33
tetradic
#3333AC #AC336F #ACAC33 #33AC6F
square
#3333AC #AC336F #ACAC33 #33AC6F
split-complementary
#3333AC #AC6F33 #6FAC33
monochromatic
#17174E #25257D #3333AC #5151CB #8080D9

Accessibility & contrast

On white

9.50
#3333AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3333AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333AC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333AC#FFFFFF#000000##FFFFFF
##3333AC1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3333ac;
/* rgb */ color: rgb(51, 51, 172);
/* oklch */ color: oklch(40.9% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c6cc6',
    500: '#3333ac',
    950: '#000000',
  },
}
SCSS
$custom: #3333ac;
$custom-light: #7c6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3333ac",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.18647,
    "h": 274.4
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333AC

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

Preview Lab → · Contrast checker → · Palette generator →

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