#3333A8#3333A8

#3333A8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.181 H 274.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3333A8
RGBrgb(51, 51, 168)
HSLhsl(240, 53%, 43%)
HSVhsv(240, 70%, 66%)
CMYKcmyk(69.6%, 69.6%, 0%, 34.1%)
CIE-LABlab(29.15, 38.35, -62.55)
CIE-LCHlch(29.15, 73.37, 301.51°)
OKLaboklab(40.53% 0.0149 -0.1807)
OKLCHoklch(40.53% 0.181 274.7)
XYZxyz(9.6146, 5.8977, 37.6699)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A8 #A8A833
analogous
#336DA8 #3333A8 #6D33A8
triadic
#3333A8 #A83333 #33A833
tetradic
#3333A8 #A8336D #A8A833 #33A86D
square
#3333A8 #A8336D #A8A833 #33A86D
split-complementary
#3333A8 #A86D33 #6DA833
monochromatic
#16164A #252579 #3333A8 #4F4FC9 #7E7ED8

Accessibility & contrast

On white

9.63
#3333A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3333A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3333A8#FFFFFF#000000##FFFFFF
##3333A81.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3333a8;
/* rgb */ color: rgb(51, 51, 168);
/* oklch */ color: oklch(40.5% 0.181 274.7);
Tailwind
colors: {
  custom: {
    50: '#7b6bc3',
    500: '#3333a8',
    950: '#000000',
  },
}
SCSS
$custom: #3333a8;
$custom-light: #7b6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a8",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 240,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.18135,
    "h": 274.7
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333A8

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

Preview Lab → · Contrast checker → · Palette generator →

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