#33389E#33389E

#33389E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.162 H 274.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#33389E
RGBrgb(51, 56, 158)
HSLhsl(237, 51%, 41%)
HSVhsv(237, 68%, 62%)
CMYKcmyk(67.7%, 64.6%, 0%, 38%)
CIE-LABlab(29.41, 31.72, -56.08)
CIE-LCHlch(29.41, 64.43, 299.49°)
OKLaboklab(40.44% 0.0123 -0.1618)
OKLCHoklch(40.44% 0.162 274.3)
XYZxyz(8.9489, 6.0000, 33.0276)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33389E #9E9933
analogous
#336D9E #33389E #63339E
triadic
#33389E #9E3338 #389E33
tetradic
#33389E #9E336D #9E9933 #339E63
square
#33389E #9E336D #9E9933 #339E63
split-complementary
#33389E #9E6333 #6D9E33
monochromatic
#151741 #242870 #33389E #4A4FC4 #787CD3

Accessibility & contrast

On white

9.54
#33389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#33389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33389E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33389E#FFFFFF#000000##FFFFFF
##33389E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33389e;
/* rgb */ color: rgb(51, 56, 158);
/* oklch */ color: oklch(40.4% 0.162 274.3);
Tailwind
colors: {
  custom: {
    50: '#796fbc',
    500: '#33389e',
    950: '#000000',
  },
}
SCSS
$custom: #33389e;
$custom-light: #796fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33389e",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 237.196,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.16224,
    "h": 274.3
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#33389E
secondary
#BCB871
accent
#D44DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33389E

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

Preview Lab → · Contrast checker → · Palette generator →

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