#33309A#33309A

#33309A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.167 H 276.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#33309A
RGBrgb(51, 48, 154)
HSLhsl(242, 52%, 40%)
HSVhsv(242, 69%, 60%)
CMYKcmyk(66.9%, 68.8%, 0%, 39.6%)
CIE-LABlab(27.16, 35.38, -57.34)
CIE-LCHlch(27.16, 67.38, 301.68°)
OKLaboklab(38.69% 0.0189 -0.1655)
OKLCHoklch(38.69% 0.167 276.5)
XYZxyz(8.2530, 5.1501, 31.1247)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33309A #979A30
analogous
#30629A #33309A #68309A
triadic
#33309A #9A3330 #309A33
tetradic
#33309A #9A3062 #979A30 #309A68
square
#33309A #9A3062 #979A30 #309A68
split-complementary
#33309A #9A6830 #629A30
monochromatic
#14133D #24216B #33309A #4743C4 #7472D3

Accessibility & contrast

On white

10.34
#33309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#33309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33309A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33309A#FFFFFF#000000##FFFFFF
##33309A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33309a;
/* rgb */ color: rgb(51, 48, 154);
/* oklch */ color: oklch(38.7% 0.167 276.5);
Tailwind
colors: {
  custom: {
    50: '#7869b9',
    500: '#33309a',
    950: '#000000',
  },
}
SCSS
$custom: #33309a;
$custom-light: #7869b9;
$custom-dark: #000000;
JSON
{
  "hex": "#33309a",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 241.698,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.16656,
    "h": 276.5
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#33309A
secondary
#B8BB6B
accent
#DC4CD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33309A

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

Preview Lab → · Contrast checker → · Palette generator →

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