#33349F#33349F

#33349F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.168 H 275.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#33349F
RGBrgb(51, 52, 159)
HSLhsl(239, 51%, 41%)
HSVhsv(239, 68%, 62%)
CMYKcmyk(67.9%, 67.3%, 0%, 37.6%)
CIE-LABlab(28.54, 34.62, -58.11)
CIE-LCHlch(28.54, 67.64, 300.78°)
OKLaboklab(39.83% 0.0153 -0.1677)
OKLCHoklch(39.83% 0.168 275.2)
XYZxyz(8.8492, 5.6622, 33.4207)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33349F #9F9E33
analogous
#336A9F #33349F #68339F
triadic
#33349F #9F3334 #349F33
tetradic
#33349F #9F336A #9F9E33 #339F68
square
#33349F #9F336A #9F9E33 #339F68
split-complementary
#33349F #9F6833 #6A9F33
monochromatic
#151642 #242571 #33349F #4A4BC5 #7979D4

Accessibility & contrast

On white

9.85
#33349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33349F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33349F#FFFFFF#000000##FFFFFF
##33349F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #33349f;
/* rgb */ color: rgb(51, 52, 159);
/* oklch */ color: oklch(39.8% 0.168 275.2);
Tailwind
colors: {
  custom: {
    50: '#796cbc',
    500: '#33349f',
    950: '#000000',
  },
}
SCSS
$custom: #33349f;
$custom-light: #796cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#33349f",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 239.444,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.16844,
    "h": 275.2
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#33349F
secondary
#BCBC71
accent
#DA4DDB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33349F

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

Preview Lab → · Contrast checker → · Palette generator →

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