#33309F#33309F

#33309F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.173 H 276.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#33309F
RGBrgb(51, 48, 159)
HSLhsl(242, 54%, 41%)
HSVhsv(242, 70%, 62%)
CMYKcmyk(67.9%, 69.8%, 0%, 37.6%)
CIE-LABlab(27.63, 37.10, -59.61)
CIE-LCHlch(27.63, 70.21, 301.89°)
OKLaboklab(39.17% 0.0182 -0.1721)
OKLCHoklch(39.17% 0.173 276)
XYZxyz(8.6782, 5.3201, 33.3637)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33309F #9C9F30
analogous
#30649F #33309F #6B309F
triadic
#33309F #9F3330 #309F33
tetradic
#33309F #9F3064 #9C9F30 #309F6B
square
#33309F #9F3064 #9C9F30 #309F6B
split-complementary
#33309F #9F6B30 #649F30
monochromatic
#151441 #242270 #33309F #4945C7 #7774D5

Accessibility & contrast

On white

10.17
#33309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#33309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33309F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33309F#FFFFFF#000000##FFFFFF
##33309F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #33309f;
/* rgb */ color: rgb(51, 48, 159);
/* oklch */ color: oklch(39.2% 0.173 276.0);
Tailwind
colors: {
  custom: {
    50: '#7969bc',
    500: '#33309f',
    950: '#000000',
  },
}
SCSS
$custom: #33309f;
$custom-light: #7969bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33309f",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 241.622,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.17311,
    "h": 276
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#33309F
secondary
#BBBD6E
accent
#DD4BD9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33309F

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

Preview Lab → · Contrast checker → · Palette generator →

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