#33389F#33389F

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

Color values

HEX#33389F
RGBrgb(51, 56, 159)
HSLhsl(237, 51%, 41%)
HSVhsv(237, 68%, 62%)
CMYKcmyk(67.9%, 64.8%, 0%, 37.6%)
CIE-LABlab(29.50, 32.08, -56.55)
CIE-LCHlch(29.50, 65.01, 299.56°)
OKLaboklab(40.53% 0.0122 -0.1631)
OKLCHoklch(40.53% 0.164 274.3)
XYZxyz(9.0353, 6.0345, 33.4828)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33389F #9F9A33
analogous
#336E9F #33389F #64339F
triadic
#33389F #9F3338 #389F33
tetradic
#33389F #9F336E #9F9A33 #339F64
square
#33389F #9F336E #9F9A33 #339F64
split-complementary
#33389F #9F6433 #6E9F33
monochromatic
#151742 #242871 #33389F #4A50C5 #797DD4

Accessibility & contrast

On white

9.52
#33389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#33389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33389F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33389F#FFFFFF#000000##FFFFFF
##33389F1.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)
#004AA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #33389f;
/* rgb */ color: rgb(51, 56, 159);
/* oklch */ color: oklch(40.5% 0.164 274.3);
Tailwind
colors: {
  custom: {
    50: '#796fbc',
    500: '#33389f',
    950: '#000000',
  },
}
SCSS
$custom: #33389f;
$custom-light: #796fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33389f",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 237.222,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.16359,
    "h": 274.3
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33389F

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

Preview Lab → · Contrast checker → · Palette generator →

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