#33378E#33378E

#33378E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.141 H 275.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#33378E
RGBrgb(51, 55, 142)
HSLhsl(237, 47%, 38%)
HSVhsv(237, 64%, 56%)
CMYKcmyk(64.1%, 61.3%, 0%, 44.3%)
CIE-LABlab(27.81, 26.67, -48.89)
CIE-LCHlch(27.81, 55.69, 298.61°)
OKLaboklab(38.84% 0.0139 -0.1407)
OKLCHoklch(38.84% 0.141 275.6)
XYZxyz(7.6123, 5.3886, 26.2249)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33378E #8E8A33
analogous
#33648E #33378E #5D338E
triadic
#33378E #8E3337 #378E33
tetradic
#33378E #8E3364 #8E8A33 #338E5D
square
#33378E #8E3364 #8E8A33 #338E5D
split-complementary
#33378E #8E5D33 #648E33
monochromatic
#131434 #232661 #33378E #4348BB #7074CC

Accessibility & contrast

On white

10.11
#33378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#33378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33378E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33378E#FFFFFF#000000##FFFFFF
##33378E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33378e;
/* rgb */ color: rgb(51, 55, 142);
/* oklch */ color: oklch(38.8% 0.141 275.6);
Tailwind
colors: {
  custom: {
    50: '#756eb0',
    500: '#33378e',
    950: '#000000',
  },
}
SCSS
$custom: #33378e;
$custom-light: #756eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33378e",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 237.363,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38842,
    "c": 0.14136,
    "h": 275.6
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#33378E
secondary
#B4B069
accent
#D151D7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #33378E

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

Preview Lab → · Contrast checker → · Palette generator →

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