#33339D#33339D

#33339D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.167 H 275.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#33339D
RGBrgb(51, 51, 157)
HSLhsl(240, 51%, 41%)
HSVhsv(240, 68%, 62%)
CMYKcmyk(67.5%, 67.5%, 0%, 38.4%)
CIE-LABlab(28.13, 34.55, -57.58)
CIE-LCHlch(28.13, 67.15, 300.97°)
OKLaboklab(39.47% 0.0162 -0.1662)
OKLCHoklch(39.47% 0.167 275.6)
XYZxyz(8.6329, 5.5050, 32.4994)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33339D #9D9D33
analogous
#33689D #33339D #68339D
triadic
#33339D #9D3333 #339D33
tetradic
#33339D #9D3368 #9D9D33 #339D68
square
#33339D #9D3368 #9D9D33 #339D68
split-complementary
#33339D #9D6833 #689D33
monochromatic
#151541 #24246F #33339D #4949C4 #7777D3

Accessibility & contrast

On white

9.99
#33339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#33339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33339D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33339D#FFFFFF#000000##FFFFFF
##33339D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #33339d;
/* rgb */ color: rgb(51, 51, 157);
/* oklch */ color: oklch(39.5% 0.167 275.6);
Tailwind
colors: {
  custom: {
    50: '#796bbb',
    500: '#33339d',
    950: '#000000',
  },
}
SCSS
$custom: #33339d;
$custom-light: #796bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#33339d",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39473,
    "c": 0.16698,
    "h": 275.6
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#33339D
secondary
#BBBB70
accent
#DA4DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33339D

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

Preview Lab → · Contrast checker → · Palette generator →

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