#33338F#33338F

#33338F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.148 H 276.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#33338F
RGBrgb(51, 51, 143)
HSLhsl(240, 47%, 38%)
HSVhsv(240, 64%, 56%)
CMYKcmyk(64.3%, 64.3%, 0%, 43.9%)
CIE-LABlab(26.89, 29.65, -51.02)
CIE-LCHlch(26.89, 59.01, 300.16°)
OKLaboklab(38.19% 0.0175 -0.147)
OKLCHoklch(38.19% 0.148 276.8)
XYZxyz(7.5054, 5.0540, 26.5613)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33338F #8F8F33
analogous
#33618F #33338F #61338F
triadic
#33338F #8F3333 #338F33
tetradic
#33338F #8F3361 #8F8F33 #338F61
square
#33338F #8F3361 #8F8F33 #338F61
split-complementary
#33338F #8F6133 #618F33
monochromatic
#131335 #232362 #33338F #4343BC #7070CC

Accessibility & contrast

On white

10.44
#33338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#33338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33338F
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33338F#FFFFFF#000000##FFFFFF
##33338F1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #33338f;
/* rgb */ color: rgb(51, 51, 143);
/* oklch */ color: oklch(38.2% 0.148 276.8);
Tailwind
colors: {
  custom: {
    50: '#766bb1',
    500: '#33338f',
    950: '#000000',
  },
}
SCSS
$custom: #33338f;
$custom-light: #766bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#33338f",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.148,
    "h": 276.8
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#33338F
secondary
#B4B46A
accent
#D751D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33338F

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

Preview Lab → · Contrast checker → · Palette generator →

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