#33338D#33338D

#33338D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.145 H 277.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#33338D
RGBrgb(51, 51, 141)
HSLhsl(240, 47%, 38%)
HSVhsv(240, 64%, 55%)
CMYKcmyk(63.8%, 63.8%, 0%, 44.7%)
CIE-LABlab(26.72, 28.94, -50.06)
CIE-LCHlch(26.72, 57.83, 300.03°)
OKLaboklab(38.01% 0.0176 -0.1441)
OKLCHoklch(38.01% 0.145 277)
XYZxyz(7.3552, 4.9940, 25.7705)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33338D #8D8D33
analogous
#33608D #33338D #60338D
triadic
#33338D #8D3333 #338D33
tetradic
#33338D #8D3360 #8D8D33 #338D60
square
#33338D #8D3360 #8D8D33 #338D60
split-complementary
#33338D #8D6033 #608D33
monochromatic
#121233 #232360 #33338D #4343BA #6F6FCB

Accessibility & contrast

On white

10.51
#33338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#33338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33338D
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33338D#FFFFFF#000000##FFFFFF
##33338D1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33338d;
/* rgb */ color: rgb(51, 51, 141);
/* oklch */ color: oklch(38.0% 0.145 277.0);
Tailwind
colors: {
  custom: {
    50: '#756baf',
    500: '#33338d',
    950: '#000000',
  },
}
SCSS
$custom: #33338d;
$custom-light: #756baf;
$custom-dark: #000000;
JSON
{
  "hex": "#33338d",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.14521,
    "h": 277
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#33338D
secondary
#B3B369
accent
#D751D7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #33338D

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

Preview Lab → · Contrast checker → · Palette generator →

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