#323BA5#323BA5

#323BA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.168 H 272.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#323BA5
RGBrgb(50, 59, 165)
HSLhsl(235, 53%, 42%)
HSVhsv(235, 70%, 65%)
CMYKcmyk(69.7%, 64.2%, 0%, 35.3%)
CIE-LABlab(30.69, 32.15, -58.23)
CIE-LCHlch(30.69, 66.51, 298.90°)
OKLaboklab(41.55% 0.0083 -0.1681)
OKLCHoklch(41.55% 0.168 272.8)
XYZxyz(9.6686, 6.5217, 36.3393)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BA5 #A59C32
analogous
#3275A5 #323BA5 #6232A5
triadic
#323BA5 #A5323B #3BA532
tetradic
#323BA5 #A53275 #A59C32 #32A562
square
#323BA5 #A53275 #A59C32 #32A562
split-complementary
#323BA5 #A56232 #75A532
monochromatic
#161947 #242A76 #323BA5 #4C55C9 #7B82D7

Accessibility & contrast

On white

9.11
#323BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#323BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BA5
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BA5#FFFFFF#000000##FFFFFF
##323BA51.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323ba5;
/* rgb */ color: rgb(50, 59, 165);
/* oklch */ color: oklch(41.5% 0.168 272.8);
Tailwind
colors: {
  custom: {
    50: '#7971c1',
    500: '#323ba5',
    950: '#000000',
  },
}
SCSS
$custom: #323ba5;
$custom-light: #7971c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323ba5",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 235.304,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.16828,
    "h": 272.8
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#323BA5
secondary
#BFB973
accent
#D14BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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