#33378C#33378C

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

Color values

HEX#33378C
RGBrgb(51, 55, 140)
HSLhsl(237, 47%, 37%)
HSVhsv(237, 64%, 55%)
CMYKcmyk(63.6%, 60.7%, 0%, 45.1%)
CIE-LABlab(27.65, 25.95, -47.92)
CIE-LCHlch(27.65, 54.50, 298.44°)
OKLaboklab(38.67% 0.0139 -0.1378)
OKLCHoklch(38.67% 0.139 275.8)
XYZxyz(7.4635, 5.3290, 25.4412)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33378C #8C8833
analogous
#33648C #33378C #5B338C
triadic
#33378C #8C3337 #378C33
tetradic
#33378C #8C3364 #8C8833 #338C5B
square
#33378C #8C3364 #8C8833 #338C5B
split-complementary
#33378C #8C5B33 #648C33
monochromatic
#121432 #23255F #33378C #4349B9 #6F73CB

Accessibility & contrast

On white

10.16
#33378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#33378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33378C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33378C#FFFFFF#000000##FFFFFF
##33378C1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #33378c;
/* rgb */ color: rgb(51, 55, 140);
/* oklch */ color: oklch(38.7% 0.139 275.8);
Tailwind
colors: {
  custom: {
    50: '#756eae',
    500: '#33378c',
    950: '#000000',
  },
}
SCSS
$custom: #33378c;
$custom-light: #756eae;
$custom-dark: #000000;
JSON
{
  "hex": "#33378c",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 237.303,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.13852,
    "h": 275.8
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33378C

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

Preview Lab → · Contrast checker → · Palette generator →

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