#3333A4#3333A4

#3333A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.176 H 275.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3333A4
RGBrgb(51, 51, 164)
HSLhsl(240, 53%, 42%)
HSVhsv(240, 69%, 64%)
CMYKcmyk(68.9%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.78, 36.97, -60.76)
CIE-LCHlch(28.78, 71.12, 301.32°)
OKLaboklab(40.14% 0.0154 -0.1755)
OKLCHoklch(40.14% 0.176 275)
XYZxyz(9.2477, 5.7510, 35.7375)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A4 #A4A433
analogous
#336CA4 #3333A4 #6C33A4
triadic
#3333A4 #A43333 #33A433
tetradic
#3333A4 #A4336C #A4A433 #33A46C
square
#3333A4 #A4336C #A4A433 #33A46C
split-complementary
#3333A4 #A46C33 #6CA433
monochromatic
#161647 #242475 #3333A4 #4D4DC8 #7B7BD6

Accessibility & contrast

On white

9.77
#3333A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3333A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333A4
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333A4#FFFFFF#000000##FFFFFF
##3333A41.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3333a4;
/* rgb */ color: rgb(51, 51, 164);
/* oklch */ color: oklch(40.1% 0.176 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a6bc0',
    500: '#3333a4',
    950: '#000000',
  },
}
SCSS
$custom: #3333a4;
$custom-light: #7a6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a4",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4014,
    "c": 0.17617,
    "h": 275
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#3333A4
secondary
#BFBF74
accent
#DC4CDC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3333A4

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

Preview Lab → · Contrast checker → · Palette generator →

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