#33349E#33349E

#33349E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.167 H 275.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#33349E
RGBrgb(51, 52, 158)
HSLhsl(239, 51%, 41%)
HSVhsv(239, 68%, 62%)
CMYKcmyk(67.7%, 67.1%, 0%, 38%)
CIE-LABlab(28.45, 34.27, -57.65)
CIE-LCHlch(28.45, 67.07, 300.73°)
OKLaboklab(39.74% 0.0154 -0.1664)
OKLCHoklch(39.74% 0.167 275.3)
XYZxyz(8.7628, 5.6276, 32.9656)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33349E #9E9D33
analogous
#33699E #33349E #67339E
triadic
#33349E #9E3334 #349E33
tetradic
#33349E #9E3369 #9E9D33 #339E67
square
#33349E #9E3369 #9E9D33 #339E67
split-complementary
#33349E #9E6733 #699E33
monochromatic
#151641 #242570 #33349E #4A4BC4 #7879D3

Accessibility & contrast

On white

9.88
#33349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#33349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33349E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33349E#FFFFFF#000000##FFFFFF
##33349E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #33349e;
/* rgb */ color: rgb(51, 52, 158);
/* oklch */ color: oklch(39.7% 0.167 275.3);
Tailwind
colors: {
  custom: {
    50: '#796cbc',
    500: '#33349e',
    950: '#000000',
  },
}
SCSS
$custom: #33349e;
$custom-light: #796cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33349e",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 239.439,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39737,
    "c": 0.16711,
    "h": 275.3
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#33349E
secondary
#BCBB71
accent
#D94DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33349E

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

Preview Lab → · Contrast checker → · Palette generator →

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