#323CA9#323CA9

#323CA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.172 H 272.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#323CA9
RGBrgb(50, 60, 169)
HSLhsl(235, 54%, 43%)
HSVhsv(235, 70%, 66%)
CMYKcmyk(70.4%, 64.5%, 0%, 33.7%)
CIE-LABlab(31.29, 32.93, -59.66)
CIE-LCHlch(31.29, 68.15, 298.90°)
OKLaboklab(42.09% 0.0074 -0.1723)
OKLCHoklch(42.09% 0.172 272.4)
XYZxyz(10.0903, 6.7734, 38.3041)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA9 #A99F32
analogous
#3277A9 #323CA9 #6332A9
triadic
#323CA9 #A9323C #3CA932
tetradic
#323CA9 #A93277 #A99F32 #32A963
square
#323CA9 #A93277 #A99F32 #32A963
split-complementary
#323CA9 #A96332 #77A932
monochromatic
#161A4B #242B7A #323CA9 #4E58CB #7D85D9

Accessibility & contrast

On white

8.92
#323CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#323CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA9
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA9#FFFFFF#000000##FFFFFF
##323CA91.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323ca9;
/* rgb */ color: rgb(50, 60, 169);
/* oklch */ color: oklch(42.1% 0.172 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a72c4',
    500: '#323ca9',
    950: '#000000',
  },
}
SCSS
$custom: #323ca9;
$custom-light: #7a72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca9",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 234.958,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.17243,
    "h": 272.4
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#323CA9
secondary
#C1BB76
accent
#D14ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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