#3333A2#3333A2

#3333A2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.174 H 275.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3333A2
RGBrgb(51, 51, 162)
HSLhsl(240, 52%, 42%)
HSVhsv(240, 69%, 64%)
CMYKcmyk(68.5%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.59, 36.28, -59.86)
CIE-LCHlch(28.59, 69.99, 301.22°)
OKLaboklab(39.95% 0.0156 -0.1729)
OKLCHoklch(39.95% 0.174 275.2)
XYZxyz(9.0685, 5.6793, 34.7937)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A2 #A2A233
analogous
#336BA2 #3333A2 #6B33A2
triadic
#3333A2 #A23333 #33A233
tetradic
#3333A2 #A2336B #A2A233 #33A26B
square
#3333A2 #A2336B #A2A233 #33A26B
split-complementary
#3333A2 #A26B33 #6BA233
monochromatic
#161645 #242473 #3333A2 #4C4CC7 #7A7AD5

Accessibility & contrast

On white

9.83
#3333A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3333A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3333A2#FFFFFF#000000##FFFFFF
##3333A21.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3333a2;
/* rgb */ color: rgb(51, 51, 162);
/* oklch */ color: oklch(39.9% 0.174 275.2);
Tailwind
colors: {
  custom: {
    50: '#7a6bbf',
    500: '#3333a2',
    950: '#000000',
  },
}
SCSS
$custom: #3333a2;
$custom-light: #7a6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a2",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39948,
    "c": 0.17357,
    "h": 275.2
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#3333A2
secondary
#BEBE73
accent
#DC4CDC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3333A2

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

Preview Lab → · Contrast checker → · Palette generator →

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