#3333A5#3333A5

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

Color values

HEX#3333A5
RGBrgb(51, 51, 165)
HSLhsl(240, 53%, 42%)
HSVhsv(240, 69%, 65%)
CMYKcmyk(69.1%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.87, 37.32, -61.21)
CIE-LCHlch(28.87, 71.69, 301.37°)
OKLaboklab(40.24% 0.0153 -0.1768)
OKLCHoklch(40.24% 0.177 274.9)
XYZxyz(9.3384, 5.7872, 36.2149)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A5 #A5A533
analogous
#336CA5 #3333A5 #6C33A5
triadic
#3333A5 #A53333 #33A533
tetradic
#3333A5 #A5336C #A5A533 #33A56C
square
#3333A5 #A5336C #A5A533 #33A56C
split-complementary
#3333A5 #A56C33 #6CA533
monochromatic
#161648 #252576 #3333A5 #4D4DC8 #7C7CD6

Accessibility & contrast

On white

9.73
#3333A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3333A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333A5
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333A5#FFFFFF#000000##FFFFFF
##3333A51.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)
#0049A8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3333a5;
/* rgb */ color: rgb(51, 51, 165);
/* oklch */ color: oklch(40.2% 0.177 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b6bc1',
    500: '#3333a5',
    950: '#000000',
  },
}
SCSS
$custom: #3333a5;
$custom-light: #7b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a5",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 240,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.17748,
    "h": 274.9
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#3333A5
secondary
#BFBF75
accent
#DC4CDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3333A5

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

Preview Lab → · Contrast checker → · Palette generator →

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