#33308A#33308A

#33308A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.145 H 278.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#33308A
RGBrgb(51, 48, 138)
HSLhsl(242, 48%, 36%)
HSVhsv(242, 65%, 54%)
CMYKcmyk(63%, 65.2%, 0%, 45.9%)
CIE-LABlab(25.72, 29.84, -49.83)
CIE-LCHlch(25.72, 58.08, 300.91°)
OKLaboklab(37.2% 0.0206 -0.1435)
OKLCHoklch(37.2% 0.145 278.2)
XYZxyz(7.0082, 4.6522, 24.5685)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33308A #878A30
analogous
#305A8A #33308A #60308A
triadic
#33308A #8A3330 #308A33
tetradic
#33308A #8A305A #878A30 #308A60
square
#33308A #8A305A #878A30 #308A60
split-complementary
#33308A #8A6030 #5A8A30
monochromatic
#11102F #22205D #33308A #4440B7 #6D69CB

Accessibility & contrast

On white

10.88
#33308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#33308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33308A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33308A#FFFFFF#000000##FFFFFF
##33308A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33308a;
/* rgb */ color: rgb(51, 48, 138);
/* oklch */ color: oklch(37.2% 0.145 278.2);
Tailwind
colors: {
  custom: {
    50: '#7568ad',
    500: '#33308a',
    950: '#000000',
  },
}
SCSS
$custom: #33308a;
$custom-light: #7568ad;
$custom-dark: #000000;
JSON
{
  "hex": "#33308a",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 242,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37199,
    "c": 0.14494,
    "h": 278.2
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#33308A
secondary
#B0B264
accent
#D850D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33308A

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

Preview Lab → · Contrast checker → · Palette generator →

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