#33338A#33338A

#33338A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.141 H 277.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#33338A
RGBrgb(51, 51, 138)
HSLhsl(240, 46%, 37%)
HSVhsv(240, 63%, 54%)
CMYKcmyk(63%, 63%, 0%, 45.9%)
CIE-LABlab(26.46, 27.88, -48.61)
CIE-LCHlch(26.46, 56.04, 299.84°)
OKLaboklab(37.74% 0.0178 -0.1399)
OKLCHoklch(37.74% 0.141 277.2)
XYZxyz(7.1350, 4.9059, 24.6108)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33338A #8A8A33
analogous
#335F8A #33338A #5F338A
triadic
#33338A #8A3333 #338A33
tetradic
#33338A #8A335F #8A8A33 #338A5F
square
#33338A #8A335F #8A8A33 #338A5F
split-complementary
#33338A #8A5F33 #5F8A33
monochromatic
#121231 #22225D #33338A #4444B7 #6E6EC9

Accessibility & contrast

On white

10.60
#33338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#33338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33338A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33338A#FFFFFF#000000##FFFFFF
##33338A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33338a;
/* rgb */ color: rgb(51, 51, 138);
/* oklch */ color: oklch(37.7% 0.141 277.2);
Tailwind
colors: {
  custom: {
    50: '#756bad',
    500: '#33338a',
    950: '#000000',
  },
}
SCSS
$custom: #33338a;
$custom-light: #756bad;
$custom-dark: #000000;
JSON
{
  "hex": "#33338a",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.14102,
    "h": 277.2
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#33338A
secondary
#B1B167
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33338A

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

Preview Lab → · Contrast checker → · Palette generator →

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