#33308F#33308F

#33308F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.152 H 277.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#33308F
RGBrgb(51, 48, 143)
HSLhsl(242, 50%, 37%)
HSVhsv(242, 66%, 56%)
CMYKcmyk(64.3%, 66.4%, 0%, 43.9%)
CIE-LABlab(26.16, 31.58, -52.21)
CIE-LCHlch(26.16, 61.02, 301.17°)
OKLaboklab(37.65% 0.0201 -0.1505)
OKLCHoklch(37.65% 0.152 277.6)
XYZxyz(7.3785, 4.8003, 26.5190)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33308F #8C8F30
analogous
#305C8F #33308F #63308F
triadic
#33308F #8F3330 #308F33
tetradic
#33308F #8F305C #8C8F30 #308F63
square
#33308F #8F305C #8C8F30 #308F63
split-complementary
#33308F #8F6330 #5C8F30
monochromatic
#121133 #232161 #33308F #433FBD #6F6CCE

Accessibility & contrast

On white

10.71
#33308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#33308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33308F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33308F#FFFFFF#000000##FFFFFF
##33308F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #33308f;
/* rgb */ color: rgb(51, 48, 143);
/* oklch */ color: oklch(37.7% 0.152 277.6);
Tailwind
colors: {
  custom: {
    50: '#7669b1',
    500: '#33308f',
    950: '#000000',
  },
}
SCSS
$custom: #33308f;
$custom-light: #7669b1;
$custom-dark: #000000;
JSON
{
  "hex": "#33308f",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 241.895,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.15181,
    "h": 277.6
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#33308F
secondary
#B2B566
accent
#D94FD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33308F

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

Preview Lab → · Contrast checker → · Palette generator →

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