#33338C#33338C

#33338C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.144 H 277.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#33338C
RGBrgb(51, 51, 140)
HSLhsl(240, 47%, 37%)
HSVhsv(240, 64%, 55%)
CMYKcmyk(63.6%, 63.6%, 0%, 45.1%)
CIE-LABlab(26.63, 28.59, -49.58)
CIE-LCHlch(26.63, 57.23, 299.97°)
OKLaboklab(37.92% 0.0177 -0.1427)
OKLCHoklch(37.92% 0.144 277.1)
XYZxyz(7.2812, 4.9643, 25.3804)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33338C #8C8C33
analogous
#33608C #33338C #60338C
triadic
#33338C #8C3333 #338C33
tetradic
#33338C #8C3360 #8C8C33 #338C60
square
#33338C #8C3360 #8C8C33 #338C60
split-complementary
#33338C #8C6033 #608C33
monochromatic
#121232 #23235F #33338C #4343B9 #6F6FCB

Accessibility & contrast

On white

10.54
#33338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#33338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33338C
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33338C#FFFFFF#000000##FFFFFF
##33338C1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33338c;
/* rgb */ color: rgb(51, 51, 140);
/* oklch */ color: oklch(37.9% 0.144 277.1);
Tailwind
colors: {
  custom: {
    50: '#756bae',
    500: '#33338c',
    950: '#000000',
  },
}
SCSS
$custom: #33338c;
$custom-light: #756bae;
$custom-dark: #000000;
JSON
{
  "hex": "#33338c",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.14382,
    "h": 277.1
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#33338C
secondary
#B2B268
accent
#D652D6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33338C

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

Preview Lab → · Contrast checker → · Palette generator →

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