#323AA3#323AA3

#323AA3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.167 H 273.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#323AA3
RGBrgb(50, 58, 163)
HSLhsl(236, 53%, 42%)
HSVhsv(236, 69%, 64%)
CMYKcmyk(69.3%, 64.4%, 0%, 36.1%)
CIE-LABlab(30.27, 32.07, -57.70)
CIE-LCHlch(30.27, 66.02, 299.07°)
OKLaboklab(41.19% 0.0092 -0.1665)
OKLCHoklch(41.19% 0.167 273.2)
XYZxyz(9.4371, 6.3477, 35.3711)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AA3 #A39B32
analogous
#3273A3 #323AA3 #6332A3
triadic
#323AA3 #A3323A #3AA332
tetradic
#323AA3 #A33273 #A39B32 #32A363
square
#323AA3 #A33273 #A39B32 #32A363
split-complementary
#323AA3 #A36332 #73A332
monochromatic
#151945 #242974 #323AA3 #4B53C8 #7980D6

Accessibility & contrast

On white

9.25
#323AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#323AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AA3
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AA3#FFFFFF#000000##FFFFFF
##323AA31.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323aa3;
/* rgb */ color: rgb(50, 58, 163);
/* oklch */ color: oklch(41.2% 0.167 273.2);
Tailwind
colors: {
  custom: {
    50: '#7970bf',
    500: '#323aa3',
    950: '#000000',
  },
}
SCSS
$custom: #323aa3;
$custom-light: #7970bf;
$custom-dark: #000000;
JSON
{
  "hex": "#323aa3",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 235.752,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.1668,
    "h": 273.2
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#323AA3
secondary
#BFB972
accent
#D24BDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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