#3A2F73#3A2F73

#3A2F73 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.7% C 0.112 H 286.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#3A2F73
RGBrgb(58, 47, 115)
HSLhsl(250, 42%, 32%)
HSVhsv(250, 59%, 45%)
CMYKcmyk(49.6%, 59.1%, 0%, 54.9%)
CIE-LABlab(24.23, 24.08, -37.73)
CIE-LCHlch(24.23, 44.76, 302.55°)
OKLaboklab(35.67% 0.0322 -0.1077)
OKLCHoklch(35.67% 0.112 286.7)
XYZxyz(5.8550, 4.1701, 16.7127)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2F73 #68732F
analogous
#2F4673 #3A2F73 #5C2F73
triadic
#3A2F73 #733A2F #2F733A
tetradic
#3A2F73 #732F46 #68732F #2F735C
square
#3A2F73 #732F46 #68732F #2F735C
split-complementary
#3A2F73 #735C2F #46732F
monochromatic
#0E0B1C #241D48 #3A2F73 #50419E #6E5FBE

Accessibility & contrast

On white

11.45
#3A2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3A2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2F73
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2F73#FFFFFF#000000##FFFFFF
##3A2F731.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B75
Deuteranopia (green-blind)
#033872
Tritanopia (blue-blind)
#273E4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3a2f73;
/* rgb */ color: rgb(58, 47, 115);
/* oklch */ color: oklch(35.7% 0.112 286.7);
Tailwind
colors: {
  custom: {
    50: '#75689c',
    500: '#3a2f73',
    950: '#000000',
  },
}
SCSS
$custom: #3a2f73;
$custom-light: #75689c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2f73",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 249.706,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.11239,
    "h": 286.7
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#3A2F73
secondary
#98A45A
accent
#D256BE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3A2F73

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

Preview Lab → · Contrast checker → · Palette generator →

#3A2F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva