#323BA7#323BA7

#323BA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.171 H 272.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#323BA7
RGBrgb(50, 59, 167)
HSLhsl(235, 54%, 43%)
HSVhsv(235, 70%, 65%)
CMYKcmyk(70.1%, 64.7%, 0%, 34.5%)
CIE-LABlab(30.87, 32.86, -59.14)
CIE-LCHlch(30.87, 67.66, 299.06°)
OKLaboklab(41.73% 0.0082 -0.1708)
OKLCHoklch(41.73% 0.171 272.8)
XYZxyz(9.8521, 6.5951, 37.3055)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BA7 #A79E32
analogous
#3275A7 #323BA7 #6432A7
triadic
#323BA7 #A7323B #3BA732
tetradic
#323BA7 #A73275 #A79E32 #32A764
square
#323BA7 #A73275 #A79E32 #32A764
split-complementary
#323BA7 #A76432 #75A732
monochromatic
#161A49 #242A78 #323BA7 #4D56CA #7C83D8

Accessibility & contrast

On white

9.05
#323BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#323BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BA7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BA7#FFFFFF#000000##FFFFFF
##323BA71.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ba7;
/* rgb */ color: rgb(50, 59, 167);
/* oklch */ color: oklch(41.7% 0.171 272.8);
Tailwind
colors: {
  custom: {
    50: '#7a71c2',
    500: '#323ba7',
    950: '#000000',
  },
}
SCSS
$custom: #323ba7;
$custom-light: #7a71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#323ba7",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 235.385,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.17096,
    "h": 272.8
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#323BA7
secondary
#C0BB74
accent
#D24BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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