#3333AF#3333AF

#3333AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.190 H 274.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3333AF
RGBrgb(51, 51, 175)
HSLhsl(240, 55%, 44%)
HSVhsv(240, 71%, 69%)
CMYKcmyk(70.9%, 70.9%, 0%, 31.4%)
CIE-LABlab(29.83, 40.73, -65.64)
CIE-LCHlch(29.83, 77.25, 301.82°)
OKLaboklab(41.22% 0.0139 -0.1898)
OKLCHoklch(41.22% 0.19 274.2)
XYZxyz(10.2844, 6.1656, 41.1972)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333AF #AFAF33
analogous
#3371AF #3333AF #7133AF
triadic
#3333AF #AF3333 #33AF33
tetradic
#3333AF #AF3371 #AFAF33 #33AF71
square
#3333AF #AF3371 #AFAF33 #33AF71
split-complementary
#3333AF #AF7133 #71AF33
monochromatic
#171750 #252580 #3333AF #5252CD #8282DB

Accessibility & contrast

On white

9.40
#3333AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3333AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3333AF#FFFFFF#000000##FFFFFF
##3333AF1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3333af;
/* rgb */ color: rgb(51, 51, 175);
/* oklch */ color: oklch(41.2% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#7d6cc8',
    500: '#3333af',
    950: '#000000',
  },
}
SCSS
$custom: #3333af;
$custom-light: #7d6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3333af",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41216,
    "c": 0.19028,
    "h": 274.2
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#3333AF
secondary
#C4C47A
accent
#DE4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3333AF

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

Preview Lab → · Contrast checker → · Palette generator →

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