#3333AA#3333AA

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

Color values

HEX#3333AA
RGBrgb(51, 51, 170)
HSLhsl(240, 54%, 43%)
HSVhsv(240, 70%, 67%)
CMYKcmyk(70%, 70%, 0%, 33.3%)
CIE-LABlab(29.34, 39.03, -63.44)
CIE-LCHlch(29.34, 74.49, 301.60°)
OKLaboklab(40.72% 0.0146 -0.1833)
OKLCHoklch(40.72% 0.184 274.5)
XYZxyz(9.8024, 5.9728, 38.6587)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333AA #AAAA33
analogous
#336EAA #3333AA #6E33AA
triadic
#3333AA #AA3333 #33AA33
tetradic
#3333AA #AA336E #AAAA33 #33AA6E
square
#3333AA #AA336E #AAAA33 #33AA6E
split-complementary
#3333AA #AA6E33 #6EAA33
monochromatic
#17174C #25257B #3333AA #5050CA #7F7FD9

Accessibility & contrast

On white

9.57
#3333AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3333AA#FFFFFF#000000##FFFFFF
##3333AA1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3333aa;
/* rgb */ color: rgb(51, 51, 170);
/* oklch */ color: oklch(40.7% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#7c6bc4',
    500: '#3333aa',
    950: '#000000',
  },
}
SCSS
$custom: #3333aa;
$custom-light: #7c6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3333aa",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40723,
    "c": 0.18392,
    "h": 274.5
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333AA

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

Preview Lab → · Contrast checker → · Palette generator →

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