#3333AB#3333AB

#3333AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.185 H 274.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3333AB
RGBrgb(51, 51, 171)
HSLhsl(240, 54%, 44%)
HSVhsv(240, 70%, 67%)
CMYKcmyk(70.2%, 70.2%, 0%, 32.9%)
CIE-LABlab(29.44, 39.37, -63.88)
CIE-LCHlch(29.44, 75.04, 301.65°)
OKLaboklab(40.82% 0.0144 -0.1846)
OKLCHoklch(40.82% 0.185 274.5)
XYZxyz(9.8973, 6.0108, 39.1588)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333AB #ABAB33
analogous
#336FAB #3333AB #6F33AB
triadic
#3333AB #AB3333 #33AB33
tetradic
#3333AB #AB336F #ABAB33 #33AB6F
square
#3333AB #AB336F #ABAB33 #33AB6F
split-complementary
#3333AB #AB6F33 #6FAB33
monochromatic
#17174D #25257C #3333AB #5050CB #7F7FD9

Accessibility & contrast

On white

9.54
#3333AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3333AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333AB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333AB#FFFFFF#000000##FFFFFF
##3333AB1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3333ab;
/* rgb */ color: rgb(51, 51, 171);
/* oklch */ color: oklch(40.8% 0.185 274.5);
Tailwind
colors: {
  custom: {
    50: '#7c6cc5',
    500: '#3333ab',
    950: '#000000',
  },
}
SCSS
$custom: #3333ab;
$custom-light: #7c6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3333ab",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.18519,
    "h": 274.5
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333AB

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

Preview Lab → · Contrast checker → · Palette generator →

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