#332F73#332F73

#332F73 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.0% C 0.113 H 281.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#332F73
RGBrgb(51, 47, 115)
HSLhsl(244, 42%, 32%)
HSVhsv(244, 59%, 45%)
CMYKcmyk(55.7%, 59.1%, 0%, 54.9%)
CIE-LABlab(23.59, 22.47, -38.79)
CIE-LCHlch(23.59, 44.83, 300.08°)
OKLaboklab(35.04% 0.0225 -0.111)
OKLCHoklch(35.04% 0.113 281.5)
XYZxyz(5.4753, 3.9743, 16.6949)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332F73 #6F732F
analogous
#2F4D73 #332F73 #552F73
triadic
#332F73 #73332F #2F7333
tetradic
#332F73 #732F4D #6F732F #2F7355
square
#332F73 #732F4D #6F732F #2F7355
split-complementary
#332F73 #73552F #4D732F
monochromatic
#0C0B1C #201D48 #332F73 #46419E #645FBE

Accessibility & contrast

On white

11.70
#332F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#332F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332F73
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332F73#FFFFFF#000000##FFFFFF
##332F731.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#173F4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #332f73;
/* rgb */ color: rgb(51, 47, 115);
/* oklch */ color: oklch(35.0% 0.113 281.5);
Tailwind
colors: {
  custom: {
    50: '#71679c',
    500: '#332f73',
    950: '#000000',
  },
}
SCSS
$custom: #332f73;
$custom-light: #71679c;
$custom-dark: #000000;
JSON
{
  "hex": "#332f73",
  "rgb": {
    "r": 51,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 243.529,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35039,
    "c": 0.1133,
    "h": 281.5
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#332F73
secondary
#A0A45A
accent
#D256CB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #332F73

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

Preview Lab → · Contrast checker → · Palette generator →

#332F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva