#33309E#33309E

#33309E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.172 H 276.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#33309E
RGBrgb(51, 48, 158)
HSLhsl(242, 53%, 40%)
HSVhsv(242, 70%, 62%)
CMYKcmyk(67.7%, 69.6%, 0%, 38%)
CIE-LABlab(27.53, 36.75, -59.16)
CIE-LCHlch(27.53, 69.65, 301.85°)
OKLaboklab(39.07% 0.0183 -0.1708)
OKLCHoklch(39.07% 0.172 276.1)
XYZxyz(8.5917, 5.2856, 32.9086)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33309E #9B9E30
analogous
#30649E #33309E #6A309E
triadic
#33309E #9E3330 #309E33
tetradic
#33309E #9E3064 #9B9E30 #309E6A
square
#33309E #9E3064 #9B9E30 #309E6A
split-complementary
#33309E #9E6A30 #649E30
monochromatic
#151340 #24226F #33309E #4845C6 #7674D5

Accessibility & contrast

On white

10.21
#33309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#33309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33309E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33309E#FFFFFF#000000##FFFFFF
##33309E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #33309e;
/* rgb */ color: rgb(51, 48, 158);
/* oklch */ color: oklch(39.1% 0.172 276.1);
Tailwind
colors: {
  custom: {
    50: '#7969bc',
    500: '#33309e',
    950: '#000000',
  },
}
SCSS
$custom: #33309e;
$custom-light: #7969bc;
$custom-dark: #000000;
JSON
{
  "hex": "#33309e",
  "rgb": {
    "r": 51,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 241.636,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39072,
    "c": 0.17181,
    "h": 276.1
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#33309E
secondary
#BABD6D
accent
#DD4BD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #33309E

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

Preview Lab → · Contrast checker → · Palette generator →

#33309E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva