#323AA7#323AA7

#323AA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.172 H 273.0°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#323AA7
RGBrgb(50, 58, 167)
HSLhsl(236, 54%, 43%)
HSVhsv(236, 70%, 65%)
CMYKcmyk(70.1%, 65.3%, 0%, 34.5%)
CIE-LABlab(30.62, 33.50, -59.54)
CIE-LCHlch(30.62, 68.32, 299.36°)
OKLaboklab(41.55% 0.0089 -0.1719)
OKLCHoklch(41.55% 0.172 273)
XYZxyz(9.8012, 6.4933, 37.2885)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AA7 #A79F32
analogous
#3275A7 #323AA7 #6432A7
triadic
#323AA7 #A7323A #3AA732
tetradic
#323AA7 #A73275 #A79F32 #32A764
square
#323AA7 #A73275 #A79F32 #32A764
split-complementary
#323AA7 #A76432 #75A732
monochromatic
#161949 #242A78 #323AA7 #4D55CA #7C82D8

Accessibility & contrast

On white

9.14
#323AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323AA7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AA7#FFFFFF#000000##FFFFFF
##323AA71.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323aa7;
/* rgb */ color: rgb(50, 58, 167);
/* oklch */ color: oklch(41.6% 0.172 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a70c2',
    500: '#323aa7',
    950: '#000000',
  },
}
SCSS
$custom: #323aa7;
$custom-light: #7a70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#323aa7",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 235.897,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41551,
    "c": 0.17216,
    "h": 273
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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