#3330AC#3330AC

#3330AC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.190 H 274.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3330AC
RGBrgb(51, 48, 172)
HSLhsl(241, 56%, 43%)
HSVhsv(241, 72%, 67%)
CMYKcmyk(70.3%, 72.1%, 0%, 32.5%)
CIE-LABlab(28.89, 41.49, -65.39)
CIE-LCHlch(28.89, 77.44, 302.40°)
OKLaboklab(40.46% 0.0161 -0.189)
OKLCHoklch(40.46% 0.19 274.9)
XYZxyz(9.8661, 5.7953, 39.6204)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3330AC #A9AC30
analogous
#306BAC #3330AC #7130AC
triadic
#3330AC #AC3330 #30AC33
tetradic
#3330AC #AC306B #A9AC30 #30AC71
square
#3330AC #AC306B #A9AC30 #30AC71
split-complementary
#3330AC #AC7130 #6BAC30
monochromatic
#17154C #25237C #3330AC #4F4CCD #7E7CDA

Accessibility & contrast

On white

9.73
#3330AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3330AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3330AC
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3330AC#FFFFFF#000000##FFFFFF
##3330AC1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3330ac;
/* rgb */ color: rgb(51, 48, 172);
/* oklch */ color: oklch(40.5% 0.190 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c6ac6',
    500: '#3330ac',
    950: '#000000',
  },
}
SCSS
$custom: #3330ac;
$custom-light: #7c6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3330ac",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 241.452,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40457,
    "c": 0.18971,
    "h": 274.9
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#3330AC
secondary
#C1C375
accent
#E048DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3330AC

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

Preview Lab → · Contrast checker → · Palette generator →

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