#323DA5#323DA5

#323DA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.166 H 272.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#323DA5
RGBrgb(50, 61, 165)
HSLhsl(234, 53%, 42%)
HSVhsv(234, 70%, 65%)
CMYKcmyk(69.7%, 63%, 0%, 35.3%)
CIE-LABlab(31.19, 30.85, -57.42)
CIE-LCHlch(31.19, 65.18, 298.25°)
OKLaboklab(41.91% 0.0068 -0.1657)
OKLCHoklch(41.91% 0.166 272.4)
XYZxyz(9.7734, 6.7313, 36.3742)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DA5 #A59A32
analogous
#3277A5 #323DA5 #6132A5
triadic
#323DA5 #A5323D #3DA532
tetradic
#323DA5 #A53277 #A59A32 #32A561
square
#323DA5 #A53277 #A59A32 #32A561
split-complementary
#323DA5 #A56132 #77A532
monochromatic
#161A47 #242C76 #323DA5 #4C58C9 #7B83D7

Accessibility & contrast

On white

8.95
#323DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#323DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DA5
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DA5#FFFFFF#000000##FFFFFF
##323DA51.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323da5;
/* rgb */ color: rgb(50, 61, 165);
/* oklch */ color: oklch(41.9% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#7972c1',
    500: '#323da5',
    950: '#000000',
  },
}
SCSS
$custom: #323da5;
$custom-light: #7972c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323da5",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 234.261,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.16582,
    "h": 272.4
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#323DA5
secondary
#BFB873
accent
#CF4BDD
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323DA5

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

Preview Lab → · Contrast checker → · Palette generator →

#323DA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva