#33399B#33399B

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

Color values

HEX#33399B
RGBrgb(51, 57, 155)
HSLhsl(237, 50%, 40%)
HSVhsv(237, 67%, 61%)
CMYKcmyk(67.1%, 63.2%, 0%, 39.2%)
CIE-LABlab(29.40, 30.01, -54.28)
CIE-LCHlch(29.40, 62.02, 298.94°)
OKLaboklab(40.35% 0.0116 -0.1565)
OKLCHoklch(40.35% 0.157 274.2)
XYZxyz(8.7428, 5.9958, 31.7006)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33399B #9B9533
analogous
#336D9B #33399B #61339B
triadic
#33399B #9B3339 #399B33
tetradic
#33399B #9B336D #9B9533 #339B61
square
#33399B #9B336D #9B9533 #339B61
split-complementary
#33399B #9B6133 #6D9B33
monochromatic
#15173F #24286D #33399B #484FC3 #767CD2

Accessibility & contrast

On white

9.55
#33399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#33399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33399B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33399B#FFFFFF#000000##FFFFFF
##33399B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #33399b;
/* rgb */ color: rgb(51, 57, 155);
/* oklch */ color: oklch(40.4% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#786fb9',
    500: '#33399b',
    950: '#000000',
  },
}
SCSS
$custom: #33399b;
$custom-light: #786fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#33399b",
  "rgb": {
    "r": 51,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 236.538,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.1569,
    "h": 274.2
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33399B

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

Preview Lab → · Contrast checker → · Palette generator →

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