#33379A#33379A

#33379A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.158 H 274.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#33379A
RGBrgb(51, 55, 154)
HSLhsl(238, 50%, 40%)
HSVhsv(238, 67%, 60%)
CMYKcmyk(66.9%, 64.3%, 0%, 39.6%)
CIE-LABlab(28.82, 30.95, -54.62)
CIE-LCHlch(28.82, 62.77, 299.54°)
OKLaboklab(39.9% 0.0133 -0.1575)
OKLCHoklch(39.9% 0.158 274.8)
XYZxyz(8.5622, 5.7685, 31.2278)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33379A #9A9633
analogous
#336A9A #33379A #62339A
triadic
#33379A #9A3337 #379A33
tetradic
#33379A #9A336A #9A9633 #339A62
square
#33379A #9A336A #9A9633 #339A62
split-complementary
#33379A #9A6233 #6A9A33
monochromatic
#15163E #24276C #33379A #484DC2 #7679D2

Accessibility & contrast

On white

9.75
#33379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#33379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33379A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33379A#FFFFFF#000000##FFFFFF
##33379A1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #33379a;
/* rgb */ color: rgb(51, 55, 154);
/* oklch */ color: oklch(39.9% 0.158 274.8);
Tailwind
colors: {
  custom: {
    50: '#786eb9',
    500: '#33379a',
    950: '#000000',
  },
}
SCSS
$custom: #33379a;
$custom-light: #786eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#33379a",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 237.67,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.15805,
    "h": 274.8
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#33379A
secondary
#BAB76F
accent
#D44EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #33379A

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

Preview Lab → · Contrast checker → · Palette generator →

#33379A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva