#323DAF#323DAF

#323DAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.179 H 272.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#323DAF
RGBrgb(50, 61, 175)
HSLhsl(235, 56%, 44%)
HSVhsv(235, 71%, 69%)
CMYKcmyk(71.4%, 65.1%, 0%, 31.4%)
CIE-LABlab(32.06, 34.44, -61.99)
CIE-LCHlch(32.06, 70.91, 299.05°)
OKLaboklab(42.82% 0.0063 -0.1791)
OKLCHoklch(42.82% 0.179 272)
XYZxyz(10.7194, 7.1097, 41.3565)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DAF #AFA432
analogous
#327CAF #323DAF #6632AF
triadic
#323DAF #AF323D #3DAF32
tetradic
#323DAF #AF327C #AFA432 #32AF66
square
#323DAF #AF327C #AFA432 #32AF66
split-complementary
#323DAF #AF6632 #7CAF32
monochromatic
#171C50 #242C7F #323DAF #515CCD #8188DB

Accessibility & contrast

On white

8.67
#323DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#323DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DAF
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DAF#FFFFFF#000000##FFFFFF
##323DAF1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323daf;
/* rgb */ color: rgb(50, 61, 175);
/* oklch */ color: oklch(42.8% 0.179 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b72c8',
    500: '#323daf',
    950: '#000000',
  },
}
SCSS
$custom: #323daf;
$custom-light: #7b72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#323daf",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 234.72,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42815,
    "c": 0.17919,
    "h": 272
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#323DAF
secondary
#C4BD79
accent
#D249DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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