#323BA2#323BA2

#323BA2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.164 H 273.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#323BA2
RGBrgb(50, 59, 162)
HSLhsl(235, 53%, 42%)
HSVhsv(235, 69%, 64%)
CMYKcmyk(69.1%, 63.6%, 0%, 36.5%)
CIE-LABlab(30.43, 31.07, -56.84)
CIE-LCHlch(30.43, 64.78, 298.66°)
OKLaboklab(41.28% 0.0085 -0.164)
OKLCHoklch(41.28% 0.164 273)
XYZxyz(9.3988, 6.4138, 34.9181)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BA2 #A29932
analogous
#3273A2 #323BA2 #6132A2
triadic
#323BA2 #A2323B #3BA232
tetradic
#323BA2 #A23273 #A29932 #32A261
square
#323BA2 #A23273 #A29932 #32A261
split-complementary
#323BA2 #A26132 #73A232
monochromatic
#151944 #242A73 #323BA2 #4A54C7 #7980D6

Accessibility & contrast

On white

9.20
#323BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#323BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BA2
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BA2#FFFFFF#000000##FFFFFF
##323BA21.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323ba2;
/* rgb */ color: rgb(50, 59, 162);
/* oklch */ color: oklch(41.3% 0.164 273.0);
Tailwind
colors: {
  custom: {
    50: '#7971be',
    500: '#323ba2',
    950: '#000000',
  },
}
SCSS
$custom: #323ba2;
$custom-light: #7971be;
$custom-dark: #000000;
JSON
{
  "hex": "#323ba2",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 235.179,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41276,
    "c": 0.16423,
    "h": 273
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#323BA2
secondary
#BEB872
accent
#D14CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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