#33308C#33308C

#33308C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.148 H 277.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#33308C
RGBrgb(51, 48, 140)
HSLhsl(242, 49%, 37%)
HSVhsv(242, 66%, 55%)
CMYKcmyk(63.6%, 65.7%, 0%, 45.1%)
CIE-LABlab(25.89, 30.54, -50.79)
CIE-LCHlch(25.89, 59.26, 301.02°)
OKLaboklab(37.38% 0.0204 -0.1463)
OKLCHoklch(37.38% 0.148 277.9)
XYZxyz(7.1543, 4.7106, 25.3381)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33308C #898C30
analogous
#305B8C #33308C #61308C
triadic
#33308C #8C3330 #308C33
tetradic
#33308C #8C305B #898C30 #308C61
square
#33308C #8C305B #898C30 #308C61
split-complementary
#33308C #8C6130 #5B8C30
monochromatic
#121131 #22205E #33308C #4440BA #6E6ACC

Accessibility & contrast

On white

10.81
#33308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33308C
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33308C#FFFFFF#000000##FFFFFF
##33308C1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #33308c;
/* rgb */ color: rgb(51, 48, 140);
/* oklch */ color: oklch(37.4% 0.148 277.9);
Tailwind
colors: {
  custom: {
    50: '#7569ae',
    500: '#33308c',
    950: '#000000',
  },
}
SCSS
$custom: #33308c;
$custom-light: #7569ae;
$custom-dark: #000000;
JSON
{
  "hex": "#33308c",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 241.957,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3738,
    "c": 0.14771,
    "h": 277.9
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#33308C
secondary
#B1B364
accent
#D84FD4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33308C

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

Preview Lab → · Contrast checker → · Palette generator →

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