#33308D#33308D

#33308D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.149 H 277.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#33308D
RGBrgb(51, 48, 141)
HSLhsl(242, 49%, 37%)
HSVhsv(242, 66%, 55%)
CMYKcmyk(63.8%, 66%, 0%, 44.7%)
CIE-LABlab(25.98, 30.88, -51.26)
CIE-LCHlch(25.98, 59.85, 301.07°)
OKLaboklab(37.47% 0.0203 -0.1477)
OKLCHoklch(37.47% 0.149 277.8)
XYZxyz(7.2284, 4.7402, 25.7282)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33308D #8A8D30
analogous
#305C8D #33308D #61308D
triadic
#33308D #8D3330 #308D33
tetradic
#33308D #8D305C #8A8D30 #308D61
square
#33308D #8D305C #8A8D30 #308D61
split-complementary
#33308D #8D6130 #5C8D30
monochromatic
#121132 #22205F #33308D #4440BB #6E6BCD

Accessibility & contrast

On white

10.78
#33308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#33308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33308D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33308D#FFFFFF#000000##FFFFFF
##33308D1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33308d;
/* rgb */ color: rgb(51, 48, 141);
/* oklch */ color: oklch(37.5% 0.149 277.8);
Tailwind
colors: {
  custom: {
    50: '#7669af',
    500: '#33308d',
    950: '#000000',
  },
}
SCSS
$custom: #33308d;
$custom-light: #7669af;
$custom-dark: #000000;
JSON
{
  "hex": "#33308d",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 241.935,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.14908,
    "h": 277.8
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#33308D
secondary
#B1B465
accent
#D94FD4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33308D

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

Preview Lab → · Contrast checker → · Palette generator →

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