#323BA6#323BA6

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

Color values

HEX#323BA6
RGBrgb(50, 59, 166)
HSLhsl(235, 54%, 42%)
HSVhsv(235, 70%, 65%)
CMYKcmyk(69.9%, 64.5%, 0%, 34.9%)
CIE-LABlab(30.78, 32.50, -58.68)
CIE-LCHlch(30.78, 67.08, 298.98°)
OKLaboklab(41.64% 0.0083 -0.1694)
OKLCHoklch(41.64% 0.17 272.8)
XYZxyz(9.7600, 6.5583, 36.8205)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BA6 #A69D32
analogous
#3275A6 #323BA6 #6332A6
triadic
#323BA6 #A6323B #3BA632
tetradic
#323BA6 #A63275 #A69D32 #32A663
square
#323BA6 #A63275 #A69D32 #32A663
split-complementary
#323BA6 #A66332 #75A632
monochromatic
#161A48 #242A77 #323BA6 #4C56C9 #7B82D7

Accessibility & contrast

On white

9.08
#323BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#323BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BA6
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BA6#FFFFFF#000000##FFFFFF
##323BA61.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323ba6;
/* rgb */ color: rgb(50, 59, 166);
/* oklch */ color: oklch(41.6% 0.170 272.8);
Tailwind
colors: {
  custom: {
    50: '#7a71c1',
    500: '#323ba6',
    950: '#000000',
  },
}
SCSS
$custom: #323ba6;
$custom-light: #7a71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323ba6",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 166
  },
  "hsl": {
    "h": 235.345,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.16962,
    "h": 272.8
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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