#323974#323974

#323974 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.100 H 275.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#323974
RGBrgb(50, 57, 116)
HSLhsl(234, 40%, 33%)
HSVhsv(234, 57%, 45%)
CMYKcmyk(56.9%, 50.9%, 0%, 54.5%)
CIE-LABlab(26.35, 15.78, -34.99)
CIE-LCHlch(26.35, 38.39, 294.27°)
OKLaboklab(37.11% 0.0093 -0.0998)
OKLCHoklch(37.11% 0.1 275.3)
XYZxyz(5.9299, 4.8649, 17.1462)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323974 #746D32
analogous
#325A74 #323974 #4C3274
triadic
#323974 #743239 #397432
tetradic
#323974 #74325A #746D32 #32744C
square
#323974 #74325A #746D32 #32744C
split-complementary
#323974 #744C32 #5A7432
monochromatic
#0D0F1E #202449 #323974 #444E9F #646DBC

Accessibility & contrast

On white

10.64
#323974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#323974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323974
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323974#FFFFFF#000000##FFFFFF
##3239741.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#143C73
Tritanopia (blue-blind)
#114651
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #323974;
/* rgb */ color: rgb(50, 57, 116);
/* oklch */ color: oklch(37.1% 0.100 275.3);
Tailwind
colors: {
  custom: {
    50: '#706f9c',
    500: '#323974',
    950: '#000000',
  },
}
SCSS
$custom: #323974;
$custom-light: #706f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#323974",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 233.636,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3711,
    "c": 0.10023,
    "h": 275.3
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#323974
secondary
#A49D5E
accent
#C358D0
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #323974

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

Preview Lab → · Contrast checker → · Palette generator →

#323974 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva