#33379B#33379B

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

Color values

HEX#33379B
RGBrgb(51, 55, 155)
HSLhsl(238, 50%, 40%)
HSVhsv(238, 67%, 61%)
CMYKcmyk(67.1%, 64.5%, 0%, 39.2%)
CIE-LABlab(28.91, 31.30, -55.08)
CIE-LCHlch(28.91, 63.36, 299.61°)
OKLaboklab(39.99% 0.0133 -0.1589)
OKLCHoklch(39.99% 0.159 274.8)
XYZxyz(8.6459, 5.8020, 31.6683)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33379B #9B9733
analogous
#336B9B #33379B #63339B
triadic
#33379B #9B3337 #379B33
tetradic
#33379B #9B336B #9B9733 #339B63
square
#33379B #9B336B #9B9733 #339B63
split-complementary
#33379B #9B6333 #6B9B33
monochromatic
#15163F #24276D #33379B #484DC3 #767AD2

Accessibility & contrast

On white

9.72
#33379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#33379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33379B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33379B#FFFFFF#000000##FFFFFF
##33379B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #33379b;
/* rgb */ color: rgb(51, 55, 155);
/* oklch */ color: oklch(40.0% 0.159 274.8);
Tailwind
colors: {
  custom: {
    50: '#786eb9',
    500: '#33379b',
    950: '#000000',
  },
}
SCSS
$custom: #33379b;
$custom-light: #786eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#33379b",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 237.692,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.15941,
    "h": 274.8
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#33379B
secondary
#BAB86F
accent
#D54EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33379B

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

Preview Lab → · Contrast checker → · Palette generator →

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