#33349D#33349D

#33349D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.166 H 275.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#33349D
RGBrgb(51, 52, 157)
HSLhsl(239, 51%, 41%)
HSVhsv(239, 68%, 62%)
CMYKcmyk(67.5%, 66.9%, 0%, 38.4%)
CIE-LABlab(28.36, 33.92, -57.19)
CIE-LCHlch(28.36, 66.50, 300.67°)
OKLaboklab(39.64% 0.0155 -0.1651)
OKLCHoklch(39.64% 0.166 275.4)
XYZxyz(8.6770, 5.5933, 32.5141)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33349D #9D9C33
analogous
#33699D #33349D #67339D
triadic
#33349D #9D3334 #349D33
tetradic
#33349D #9D3369 #9D9C33 #339D67
square
#33349D #9D3369 #9D9C33 #339D67
split-complementary
#33349D #9D6733 #699D33
monochromatic
#151541 #24256F #33349D #494AC4 #7778D3

Accessibility & contrast

On white

9.91
#33349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#33349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33349D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33349D#FFFFFF#000000##FFFFFF
##33349D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #33349d;
/* rgb */ color: rgb(51, 52, 157);
/* oklch */ color: oklch(39.6% 0.166 275.4);
Tailwind
colors: {
  custom: {
    50: '#796cbb',
    500: '#33349d',
    950: '#000000',
  },
}
SCSS
$custom: #33349d;
$custom-light: #796cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#33349d",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 239.434,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.16578,
    "h": 275.4
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#33349D
secondary
#BBBB70
accent
#D94DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #33349D

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

Preview Lab → · Contrast checker → · Palette generator →

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