#323479#323479

#323479 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.115 H 277.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#323479
RGBrgb(50, 52, 121)
HSLhsl(238, 42%, 34%)
HSVhsv(238, 59%, 47%)
CMYKcmyk(58.7%, 57%, 0%, 52.5%)
CIE-LABlab(25.30, 20.98, -39.84)
CIE-LCHlch(25.30, 45.03, 297.77°)
OKLaboklab(36.44% 0.0156 -0.1141)
OKLCHoklch(36.44% 0.115 277.8)
XYZxyz(5.9935, 4.5142, 18.6409)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323479 #797732
analogous
#325779 #323479 #533279
triadic
#323479 #793234 #347932
tetradic
#323479 #793257 #797732 #327953
square
#323479 #793257 #797732 #327953
split-complementary
#323479 #795332 #577932
monochromatic
#0E0F22 #20214E #323479 #4447A4 #6668C0

Accessibility & contrast

On white

11.04
#323479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#323479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323479
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323479#FFFFFF#000000##FFFFFF
##3234791.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063F7B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#0B4451
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #323479;
/* rgb */ color: rgb(50, 52, 121);
/* oklch */ color: oklch(36.4% 0.115 277.8);
Tailwind
colors: {
  custom: {
    50: '#716ba0',
    500: '#323479',
    950: '#000000',
  },
}
SCSS
$custom: #323479;
$custom-light: #716ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#323479",
  "rgb": {
    "r": 50,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 238.31,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3644,
    "c": 0.11517,
    "h": 277.8
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#323479
secondary
#A7A55F
accent
#CE56D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #323479

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

Preview Lab → · Contrast checker → · Palette generator →

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