#33337A#33337A

#33337A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.118 H 278.8°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#33337A
RGBrgb(51, 51, 122)
HSLhsl(240, 41%, 34%)
HSVhsv(240, 58%, 48%)
CMYKcmyk(58.2%, 58.2%, 0%, 52.2%)
CIE-LABlab(25.19, 22.23, -40.66)
CIE-LCHlch(25.19, 46.34, 298.66°)
OKLaboklab(36.4% 0.018 -0.1165)
OKLCHoklch(36.4% 0.118 278.8)
XYZxyz(6.0608, 4.4762, 18.9532)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33337A #7A7A33
analogous
#33577A #33337A #57337A
triadic
#33337A #7A3333 #337A33
tetradic
#33337A #7A3357 #7A7A33 #337A57
square
#33337A #7A3357 #7A7A33 #337A57
split-complementary
#33337A #7A5733 #577A33
monochromatic
#0F0F24 #21214F #33337A #4545A5 #6868C0

Accessibility & contrast

On white

11.08
#33337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#33337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33337A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33337A#FFFFFF#000000##FFFFFF
##33337A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#0E4351
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #33337a;
/* rgb */ color: rgb(51, 51, 122);
/* oklch */ color: oklch(36.4% 0.118 278.8);
Tailwind
colors: {
  custom: {
    50: '#726aa1',
    500: '#33337a',
    950: '#000000',
  },
}
SCSS
$custom: #33337a;
$custom-light: #726aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#33337a",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36397,
    "c": 0.11788,
    "h": 278.8
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#33337A
secondary
#A8A861
accent
#D157D1
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #33337A

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

Preview Lab → · Contrast checker → · Palette generator →

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