#33389C#33389C

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

Color values

HEX#33389C
RGBrgb(51, 56, 156)
HSLhsl(237, 51%, 41%)
HSVhsv(237, 67%, 61%)
CMYKcmyk(67.3%, 64.1%, 0%, 38.8%)
CIE-LABlab(29.24, 31.01, -55.15)
CIE-LCHlch(29.24, 63.27, 299.35°)
OKLaboklab(40.26% 0.0124 -0.159)
OKLCHoklch(40.26% 0.16 274.5)
XYZxyz(8.7782, 5.9317, 32.1284)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33389C #9C9733
analogous
#336C9C #33389C #62339C
triadic
#33389C #9C3338 #389C33
tetradic
#33389C #9C336C #9C9733 #339C62
square
#33389C #9C336C #9C9733 #339C62
split-complementary
#33389C #9C6233 #6C9C33
monochromatic
#151740 #24276E #33389C #494FC3 #777BD3

Accessibility & contrast

On white

9.60
#33389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#33389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33389C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33389C#FFFFFF#000000##FFFFFF
##33389C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33389c;
/* rgb */ color: rgb(51, 56, 156);
/* oklch */ color: oklch(40.3% 0.160 274.5);
Tailwind
colors: {
  custom: {
    50: '#786fba',
    500: '#33389c',
    950: '#000000',
  },
}
SCSS
$custom: #33389c;
$custom-light: #786fba;
$custom-dark: #000000;
JSON
{
  "hex": "#33389c",
  "rgb": {
    "r": 51,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 237.143,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40257,
    "c": 0.15953,
    "h": 274.5
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33389C

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

Preview Lab → · Contrast checker → · Palette generator →

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