#33337D#33337D

#33337D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.122 H 278.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#33337D
RGBrgb(51, 51, 125)
HSLhsl(240, 42%, 35%)
HSVhsv(240, 59%, 49%)
CMYKcmyk(59.2%, 59.2%, 0%, 51%)
CIE-LABlab(25.42, 23.29, -42.18)
CIE-LCHlch(25.42, 48.18, 298.90°)
OKLaboklab(36.64% 0.0181 -0.121)
OKLCHoklch(36.64% 0.122 278.5)
XYZxyz(6.2496, 4.5517, 19.9473)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33337D #7D7D33
analogous
#33587D #33337D #58337D
triadic
#33337D #7D3333 #337D33
tetradic
#33337D #7D3358 #7D7D33 #337D58
square
#33337D #7D3358 #7D7D33 #337D58
split-complementary
#33337D #7D5833 #587D33
monochromatic
#101026 #212152 #33337D #4545A8 #6969C2

Accessibility & contrast

On white

10.99
#33337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#33337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33337D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33337D#FFFFFF#000000##FFFFFF
##33337D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#084452
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33337d;
/* rgb */ color: rgb(51, 51, 125);
/* oklch */ color: oklch(36.6% 0.122 278.5);
Tailwind
colors: {
  custom: {
    50: '#726aa3',
    500: '#33337d',
    950: '#000000',
  },
}
SCSS
$custom: #33337d;
$custom-light: #726aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#33337d",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36641,
    "c": 0.12231,
    "h": 278.5
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#33337D
secondary
#AAAA62
accent
#D256D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33337D

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

Preview Lab → · Contrast checker → · Palette generator →

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