#3333A7#3333A7

#3333A7 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.180 H 274.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3333A7
RGBrgb(51, 51, 167)
HSLhsl(240, 53%, 43%)
HSVhsv(240, 69%, 65%)
CMYKcmyk(69.5%, 69.5%, 0%, 34.5%)
CIE-LABlab(29.06, 38.00, -62.11)
CIE-LCHlch(29.06, 72.81, 301.46°)
OKLaboklab(40.43% 0.015 -0.1794)
OKLCHoklch(40.43% 0.18 274.8)
XYZxyz(9.5218, 5.8606, 37.1811)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333A7 #A7A733
analogous
#336DA7 #3333A7 #6D33A7
triadic
#3333A7 #A73333 #33A733
tetradic
#3333A7 #A7336D #A7A733 #33A76D
square
#3333A7 #A7336D #A7A733 #33A76D
split-complementary
#3333A7 #A76D33 #6DA733
monochromatic
#161649 #252578 #3333A7 #4E4EC9 #7D7DD7

Accessibility & contrast

On white

9.67
#3333A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3333A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3333A7#FFFFFF#000000##FFFFFF
##3333A71.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3333a7;
/* rgb */ color: rgb(51, 51, 167);
/* oklch */ color: oklch(40.4% 0.180 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b6bc2',
    500: '#3333a7',
    950: '#000000',
  },
}
SCSS
$custom: #3333a7;
$custom-light: #7b6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3333a7",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 240,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40431,
    "c": 0.18007,
    "h": 274.8
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333A7

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

Preview Lab → · Contrast checker → · Palette generator →

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