#33379D#33379D

#33379D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.162 H 274.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#33379D
RGBrgb(51, 55, 157)
HSLhsl(238, 51%, 41%)
HSVhsv(238, 68%, 62%)
CMYKcmyk(67.5%, 65%, 0%, 38.4%)
CIE-LABlab(29.08, 32.01, -56.02)
CIE-LCHlch(29.08, 64.52, 299.75°)
OKLaboklab(40.17% 0.0131 -0.1616)
OKLCHoklch(40.17% 0.162 274.6)
XYZxyz(8.8152, 5.8697, 32.5602)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33379D #9D9933
analogous
#336C9D #33379D #64339D
triadic
#33379D #9D3337 #379D33
tetradic
#33379D #9D336C #9D9933 #339D64
square
#33379D #9D336C #9D9933 #339D64
split-complementary
#33379D #9D6433 #6C9D33
monochromatic
#151741 #24276F #33379D #494EC4 #777BD3

Accessibility & contrast

On white

9.66
#33379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#33379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33379D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33379D#FFFFFF#000000##FFFFFF
##33379D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #33379d;
/* rgb */ color: rgb(51, 55, 157);
/* oklch */ color: oklch(40.2% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#786ebb',
    500: '#33379d',
    950: '#000000',
  },
}
SCSS
$custom: #33379d;
$custom-light: #786ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#33379d",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 237.736,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.16212,
    "h": 274.6
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#33379D
secondary
#BBB970
accent
#D54DDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33379D

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

Preview Lab → · Contrast checker → · Palette generator →

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