#33339C#33339C

#33339C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.166 H 275.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#33339C
RGBrgb(51, 51, 156)
HSLhsl(240, 51%, 41%)
HSVhsv(240, 67%, 61%)
CMYKcmyk(67.3%, 67.3%, 0%, 38.8%)
CIE-LABlab(28.04, 34.20, -57.12)
CIE-LCHlch(28.04, 66.57, 300.91°)
OKLaboklab(39.38% 0.0163 -0.1648)
OKLCHoklch(39.38% 0.166 275.7)
XYZxyz(8.5478, 5.4710, 32.0516)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33339C #9C9C33
analogous
#33679C #33339C #67339C
triadic
#33339C #9C3333 #339C33
tetradic
#33339C #9C3367 #9C9C33 #339C67
square
#33339C #9C3367 #9C9C33 #339C67
split-complementary
#33339C #9C6733 #679C33
monochromatic
#151540 #24246E #33339C #4949C3 #7777D3

Accessibility & contrast

On white

10.03
#33339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#33339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33339C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33339C#FFFFFF#000000##FFFFFF
##33339C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33339c;
/* rgb */ color: rgb(51, 51, 156);
/* oklch */ color: oklch(39.4% 0.166 275.7);
Tailwind
colors: {
  custom: {
    50: '#796bba',
    500: '#33339c',
    950: '#000000',
  },
}
SCSS
$custom: #33339c;
$custom-light: #796bba;
$custom-dark: #000000;
JSON
{
  "hex": "#33339c",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39379,
    "c": 0.16565,
    "h": 275.7
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#33339C
secondary
#BBBB70
accent
#DA4EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33339C

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

Preview Lab → · Contrast checker → · Palette generator →

#33339C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva