#33337B#33337B

#33337B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.5% C 0.119 H 278.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#33337B
RGBrgb(51, 51, 123)
HSLhsl(240, 41%, 34%)
HSVhsv(240, 59%, 48%)
CMYKcmyk(58.5%, 58.5%, 0%, 51.8%)
CIE-LABlab(25.26, 22.58, -41.17)
CIE-LCHlch(25.26, 46.95, 298.74°)
OKLaboklab(36.48% 0.0181 -0.118)
OKLCHoklch(36.48% 0.119 278.7)
XYZxyz(6.1231, 4.5011, 19.2812)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33337B #7B7B33
analogous
#33577B #33337B #57337B
triadic
#33337B #7B3333 #337B33
tetradic
#33337B #7B3357 #7B7B33 #337B57
square
#33337B #7B3357 #7B7B33 #337B57
split-complementary
#33337B #7B5733 #577B33
monochromatic
#0F0F24 #212150 #33337B #4545A6 #6868C0

Accessibility & contrast

On white

11.05
#33337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33337B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33337B#FFFFFF#000000##FFFFFF
##33337B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33337b;
/* rgb */ color: rgb(51, 51, 123);
/* oklch */ color: oklch(36.5% 0.119 278.7);
Tailwind
colors: {
  custom: {
    50: '#726aa2',
    500: '#33337b',
    950: '#000000',
  },
}
SCSS
$custom: #33337b;
$custom-light: #726aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#33337b",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36478,
    "c": 0.11936,
    "h": 278.7
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #33337B

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

Preview Lab → · Contrast checker → · Palette generator →

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