#33378B#33378B

#33378B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.137 H 275.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#33378B
RGBrgb(51, 55, 139)
HSLhsl(237, 46%, 37%)
HSVhsv(237, 63%, 55%)
CMYKcmyk(63.3%, 60.4%, 0%, 45.5%)
CIE-LABlab(27.57, 25.60, -47.43)
CIE-LCHlch(27.57, 53.90, 298.35°)
OKLaboklab(38.59% 0.0139 -0.1364)
OKLCHoklch(38.59% 0.137 275.8)
XYZxyz(7.3901, 5.2997, 25.0546)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33378B #8B8733
analogous
#33638B #33378B #5B338B
triadic
#33378B #8B3337 #378B33
tetradic
#33378B #8B3363 #8B8733 #338B5B
square
#33378B #8B3363 #8B8733 #338B5B
split-complementary
#33378B #8B5B33 #638B33
monochromatic
#121431 #23255E #33378B #4349B8 #6E73CA

Accessibility & contrast

On white

10.19
#33378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#33378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33378B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33378B#FFFFFF#000000##FFFFFF
##33378B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #33378b;
/* rgb */ color: rgb(51, 55, 139);
/* oklch */ color: oklch(38.6% 0.137 275.8);
Tailwind
colors: {
  custom: {
    50: '#756eae',
    500: '#33378b',
    950: '#000000',
  },
}
SCSS
$custom: #33378b;
$custom-light: #756eae;
$custom-dark: #000000;
JSON
{
  "hex": "#33378b",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 237.273,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.1371,
    "h": 275.8
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#33378B
secondary
#B2AF68
accent
#D052D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33378B

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

Preview Lab → · Contrast checker → · Palette generator →

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