#323378#323378

#323378 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.115 H 278.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#323378
RGBrgb(50, 51, 120)
HSLhsl(239, 41%, 33%)
HSVhsv(239, 58%, 47%)
CMYKcmyk(58.3%, 57.5%, 0%, 52.9%)
CIE-LABlab(24.96, 21.31, -39.77)
CIE-LCHlch(24.96, 45.12, 298.18°)
OKLaboklab(36.16% 0.0167 -0.1139)
OKLCHoklch(36.16% 0.115 278.3)
XYZxyz(5.8883, 4.4014, 18.3049)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323378 #787732
analogous
#325678 #323378 #543278
triadic
#323378 #783233 #337832
tetradic
#323378 #783256 #787732 #327854
square
#323378 #783256 #787732 #327854
split-complementary
#323378 #785432 #567832
monochromatic
#0E0E22 #20214D #323378 #4445A3 #6567BF

Accessibility & contrast

On white

11.17
#323378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#323378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323378
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323378#FFFFFF#000000##FFFFFF
##3233781.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043E7A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#0D4350
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #323378;
/* rgb */ color: rgb(50, 51, 120);
/* oklch */ color: oklch(36.2% 0.115 278.3);
Tailwind
colors: {
  custom: {
    50: '#716a9f',
    500: '#323378',
    950: '#000000',
  },
}
SCSS
$custom: #323378;
$custom-light: #716a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#323378",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 239.143,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36157,
    "c": 0.11511,
    "h": 278.3
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#323378
secondary
#A7A65F
accent
#CF57D1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #323378

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

Preview Lab → · Contrast checker → · Palette generator →

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