#3333A9#3333A9

#3333A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.183 H 274.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3333A9
RGBrgb(51, 51, 169)
HSLhsl(240, 54%, 43%)
HSVhsv(240, 70%, 66%)
CMYKcmyk(69.8%, 69.8%, 0%, 33.7%)
CIE-LABlab(29.25, 38.69, -63.00)
CIE-LCHlch(29.25, 73.93, 301.56°)
OKLaboklab(40.63% 0.0147 -0.182)
OKLCHoklch(40.63% 0.183 274.6)
XYZxyz(9.7081, 5.9351, 38.1624)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A9 #A9A933
analogous
#336EA9 #3333A9 #6E33A9
triadic
#3333A9 #A93333 #33A933
tetradic
#3333A9 #A9336E #A9A933 #33A96E
square
#3333A9 #A9336E #A9A933 #33A96E
split-complementary
#3333A9 #A96E33 #6EA933
monochromatic
#17174B #25257A #3333A9 #4F4FCA #7E7ED8

Accessibility & contrast

On white

9.60
#3333A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3333A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333A9
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333A9#FFFFFF#000000##FFFFFF
##3333A91.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3333a9;
/* rgb */ color: rgb(51, 51, 169);
/* oklch */ color: oklch(40.6% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b6bc4',
    500: '#3333a9',
    950: '#000000',
  },
}
SCSS
$custom: #3333a9;
$custom-light: #7b6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a9",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.18263,
    "h": 274.6
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#3333A9
secondary
#C1C177
accent
#DD4BDD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3333A9

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

Preview Lab → · Contrast checker → · Palette generator →

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