#33337E#33337E

#33337E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.124 H 278.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#33337E
RGBrgb(51, 51, 126)
HSLhsl(240, 42%, 35%)
HSVhsv(240, 60%, 49%)
CMYKcmyk(59.5%, 59.5%, 0%, 50.6%)
CIE-LABlab(25.50, 23.64, -42.68)
CIE-LCHlch(25.50, 48.79, 298.98°)
OKLaboklab(36.72% 0.0181 -0.1225)
OKLCHoklch(36.72% 0.124 278.4)
XYZxyz(6.3138, 4.5774, 20.2854)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33337E #7E7E33
analogous
#33597E #33337E #59337E
triadic
#33337E #7E3333 #337E33
tetradic
#33337E #7E3359 #7E7E33 #337E59
square
#33337E #7E3359 #7E7E33 #337E59
split-complementary
#33337E #7E5933 #597E33
monochromatic
#101027 #212152 #33337E #4545AA #6969C2

Accessibility & contrast

On white

10.96
#33337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#33337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33337E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33337E#FFFFFF#000000##FFFFFF
##33337E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#064553
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33337e;
/* rgb */ color: rgb(51, 51, 126);
/* oklch */ color: oklch(36.7% 0.124 278.4);
Tailwind
colors: {
  custom: {
    50: '#726aa4',
    500: '#33337e',
    950: '#000000',
  },
}
SCSS
$custom: #33337e;
$custom-light: #726aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#33337e",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36724,
    "c": 0.12379,
    "h": 278.4
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33337E

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

Preview Lab → · Contrast checker → · Palette generator →

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