#33338E#33338E

#33338E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.147 H 276.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#33338E
RGBrgb(51, 51, 142)
HSLhsl(240, 47%, 38%)
HSVhsv(240, 64%, 56%)
CMYKcmyk(64.1%, 64.1%, 0%, 44.3%)
CIE-LABlab(26.80, 29.30, -50.54)
CIE-LCHlch(26.80, 58.42, 300.10°)
OKLaboklab(38.1% 0.0176 -0.1456)
OKLCHoklch(38.1% 0.147 276.9)
XYZxyz(7.4300, 5.0239, 26.1641)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33338E #8E8E33
analogous
#33608E #33338E #60338E
triadic
#33338E #8E3333 #338E33
tetradic
#33338E #8E3360 #8E8E33 #338E60
square
#33338E #8E3360 #8E8E33 #338E60
split-complementary
#33338E #8E6033 #608E33
monochromatic
#131334 #232361 #33338E #4343BB #7070CC

Accessibility & contrast

On white

10.47
#33338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33338E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33338E#FFFFFF#000000##FFFFFF
##33338E1.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #33338e;
/* rgb */ color: rgb(51, 51, 142);
/* oklch */ color: oklch(38.1% 0.147 276.9);
Tailwind
colors: {
  custom: {
    50: '#766bb0',
    500: '#33338e',
    950: '#000000',
  },
}
SCSS
$custom: #33338e;
$custom-light: #766bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#33338e",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.14661,
    "h": 276.9
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#33338E
secondary
#B4B469
accent
#D751D7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #33338E

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

Preview Lab → · Contrast checker → · Palette generator →

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