#33349B#33349B

#33349B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.163 H 275.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#33349B
RGBrgb(51, 52, 155)
HSLhsl(239, 50%, 40%)
HSVhsv(239, 67%, 61%)
CMYKcmyk(67.1%, 66.5%, 0%, 39.2%)
CIE-LABlab(28.18, 33.22, -56.27)
CIE-LCHlch(28.18, 65.34, 300.56°)
OKLaboklab(39.46% 0.0157 -0.1623)
OKLCHoklch(39.46% 0.163 275.5)
XYZxyz(8.5077, 5.5256, 31.6222)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33349B #9B9A33
analogous
#33689B #33349B #66339B
triadic
#33349B #9B3334 #349B33
tetradic
#33349B #9B3368 #9B9A33 #339B66
square
#33349B #9B3368 #9B9A33 #339B66
split-complementary
#33349B #9B6633 #689B33
monochromatic
#15153F #24256D #33349B #4849C3 #7677D2

Accessibility & contrast

On white

9.98
#33349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#33349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33349B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33349B#FFFFFF#000000##FFFFFF
##33349B1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33349b;
/* rgb */ color: rgb(51, 52, 155);
/* oklch */ color: oklch(39.5% 0.163 275.5);
Tailwind
colors: {
  custom: {
    50: '#786cb9',
    500: '#33349b',
    950: '#000000',
  },
}
SCSS
$custom: #33349b;
$custom-light: #786cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#33349b",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 239.423,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.1631,
    "h": 275.5
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#33349B
secondary
#BABA6F
accent
#D94EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33349B

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

Preview Lab → · Contrast checker → · Palette generator →

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