#33399F#33399F

#33399F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.162 H 274.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#33399F
RGBrgb(51, 57, 159)
HSLhsl(237, 51%, 41%)
HSVhsv(237, 68%, 62%)
CMYKcmyk(67.9%, 64.2%, 0%, 37.6%)
CIE-LABlab(29.74, 31.43, -56.15)
CIE-LCHlch(29.74, 64.35, 299.24°)
OKLaboklab(40.71% 0.0114 -0.162)
OKLCHoklch(40.71% 0.162 274)
XYZxyz(9.0843, 6.1324, 33.4991)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33399F #9F9933
analogous
#336F9F #33399F #63339F
triadic
#33399F #9F3339 #399F33
tetradic
#33399F #9F336F #9F9933 #339F63
square
#33399F #9F336F #9F9933 #339F63
split-complementary
#33399F #9F6333 #6F9F33
monochromatic
#151842 #242871 #33399F #4A51C5 #797ED4

Accessibility & contrast

On white

9.43
#33399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#33399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33399F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33399F#FFFFFF#000000##FFFFFF
##33399F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #33399f;
/* rgb */ color: rgb(51, 57, 159);
/* oklch */ color: oklch(40.7% 0.162 274.0);
Tailwind
colors: {
  custom: {
    50: '#796fbc',
    500: '#33399f',
    950: '#000000',
  },
}
SCSS
$custom: #33399f;
$custom-light: #796fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33399f",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 236.667,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.16236,
    "h": 274
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#33399F
secondary
#BCB871
accent
#D34DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33399F

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

Preview Lab → · Contrast checker → · Palette generator →

#33399F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva