#33337C#33337C

#33337C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.121 H 278.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#33337C
RGBrgb(51, 51, 124)
HSLhsl(240, 42%, 34%)
HSVhsv(240, 59%, 49%)
CMYKcmyk(58.9%, 58.9%, 0%, 51.4%)
CIE-LABlab(25.34, 22.93, -41.67)
CIE-LCHlch(25.34, 47.57, 298.82°)
OKLaboklab(36.56% 0.0181 -0.1195)
OKLCHoklch(36.56% 0.121 278.6)
XYZxyz(6.1860, 4.5263, 19.6126)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33337C #7C7C33
analogous
#33587C #33337C #58337C
triadic
#33337C #7C3333 #337C33
tetradic
#33337C #7C3358 #7C7C33 #337C58
square
#33337C #7C3358 #7C7C33 #337C58
split-complementary
#33337C #7C5833 #587C33
monochromatic
#0F0F25 #212151 #33337C #4545A7 #6868C1

Accessibility & contrast

On white

11.02
#33337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33337C
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33337C#FFFFFF#000000##FFFFFF
##33337C1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#0A4452
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33337c;
/* rgb */ color: rgb(51, 51, 124);
/* oklch */ color: oklch(36.6% 0.121 278.6);
Tailwind
colors: {
  custom: {
    50: '#726aa2',
    500: '#33337c',
    950: '#000000',
  },
}
SCSS
$custom: #33337c;
$custom-light: #726aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#33337c",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36559,
    "c": 0.12084,
    "h": 278.6
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33337C

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

Preview Lab → · Contrast checker → · Palette generator →

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