#33389B#33389B

#33389B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.158 H 274.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#33389B
RGBrgb(51, 56, 155)
HSLhsl(237, 50%, 40%)
HSVhsv(237, 67%, 61%)
CMYKcmyk(67.1%, 63.9%, 0%, 39.2%)
CIE-LABlab(29.15, 30.66, -54.68)
CIE-LCHlch(29.15, 62.69, 299.28°)
OKLaboklab(40.17% 0.0124 -0.1577)
OKLCHoklch(40.17% 0.158 274.5)
XYZxyz(8.6939, 5.8979, 31.6843)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33389B #9B9633
analogous
#336C9B #33389B #62339B
triadic
#33389B #9B3338 #389B33
tetradic
#33389B #9B336C #9B9633 #339B62
square
#33389B #9B336C #9B9633 #339B62
split-complementary
#33389B #9B6233 #6C9B33
monochromatic
#15173F #24276D #33389B #484EC3 #767BD2

Accessibility & contrast

On white

9.63
#33389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#33389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33389B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33389B#FFFFFF#000000##FFFFFF
##33389B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #33389b;
/* rgb */ color: rgb(51, 56, 155);
/* oklch */ color: oklch(40.2% 0.158 274.5);
Tailwind
colors: {
  custom: {
    50: '#786eb9',
    500: '#33389b',
    950: '#000000',
  },
}
SCSS
$custom: #33389b;
$custom-light: #786eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#33389b",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 237.115,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.15816,
    "h": 274.5
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#33389B
secondary
#BAB76F
accent
#D34EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33389B

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

Preview Lab → · Contrast checker → · Palette generator →

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