#33399C#33399C

#33399C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.158 H 274.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#33399C
RGBrgb(51, 57, 156)
HSLhsl(237, 51%, 41%)
HSVhsv(237, 67%, 61%)
CMYKcmyk(67.3%, 63.5%, 0%, 38.8%)
CIE-LABlab(29.49, 30.36, -54.75)
CIE-LCHlch(29.49, 62.60, 299.01°)
OKLaboklab(40.44% 0.0116 -0.1578)
OKLCHoklch(40.44% 0.158 274.2)
XYZxyz(8.8271, 6.0296, 32.1447)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33399C #9C9633
analogous
#336E9C #33399C #61339C
triadic
#33399C #9C3339 #399C33
tetradic
#33399C #9C336E #9C9633 #339C61
square
#33399C #9C336E #9C9633 #339C61
split-complementary
#33399C #9C6133 #6E9C33
monochromatic
#151740 #24286E #33399C #4950C3 #777CD3

Accessibility & contrast

On white

9.52
#33399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#33399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33399C
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33399C#FFFFFF#000000##FFFFFF
##33399C1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #33399c;
/* rgb */ color: rgb(51, 57, 156);
/* oklch */ color: oklch(40.4% 0.158 274.2);
Tailwind
colors: {
  custom: {
    50: '#786fba',
    500: '#33399c',
    950: '#000000',
  },
}
SCSS
$custom: #33399c;
$custom-light: #786fba;
$custom-dark: #000000;
JSON
{
  "hex": "#33399c",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 236.571,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.15827,
    "h": 274.2
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#33399C
secondary
#BBB770
accent
#D24EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33399C

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

Preview Lab → · Contrast checker → · Palette generator →

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