#33308B#33308B

#33308B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.146 H 278.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#33308B
RGBrgb(51, 48, 139)
HSLhsl(242, 49%, 37%)
HSVhsv(242, 65%, 55%)
CMYKcmyk(63.3%, 65.5%, 0%, 45.5%)
CIE-LABlab(25.81, 30.19, -50.31)
CIE-LCHlch(25.81, 58.67, 300.97°)
OKLaboklab(37.29% 0.0205 -0.1449)
OKLCHoklch(37.29% 0.146 278)
XYZxyz(7.0809, 4.6812, 24.9515)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33308B #888B30
analogous
#305B8B #33308B #61308B
triadic
#33308B #8B3330 #308B33
tetradic
#33308B #8B305B #888B30 #308B61
square
#33308B #8B305B #888B30 #308B61
split-complementary
#33308B #8B6130 #5B8B30
monochromatic
#121130 #22205E #33308B #4440B8 #6D6ACC

Accessibility & contrast

On white

10.84
#33308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#33308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33308B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33308B#FFFFFF#000000##FFFFFF
##33308B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33308b;
/* rgb */ color: rgb(51, 48, 139);
/* oklch */ color: oklch(37.3% 0.146 278.0);
Tailwind
colors: {
  custom: {
    50: '#7569ae',
    500: '#33308b',
    950: '#000000',
  },
}
SCSS
$custom: #33308b;
$custom-light: #7569ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33308b",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 241.978,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37289,
    "c": 0.14632,
    "h": 278
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#33308B
secondary
#B0B364
accent
#D850D4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33308B

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

Preview Lab → · Contrast checker → · Palette generator →

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