#323CBA#323CBA

#323CBA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.195 H 271.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#323CBA
RGBrgb(50, 60, 186)
HSLhsl(236, 58%, 46%)
HSVhsv(236, 73%, 73%)
CMYKcmyk(73.1%, 67.7%, 0%, 27.1%)
CIE-LABlab(32.82, 38.95, -67.26)
CIE-LCHlch(32.82, 77.72, 300.07°)
OKLaboklab(43.68% 0.006 -0.1945)
OKLCHoklch(43.68% 0.195 271.8)
XYZxyz(11.7912, 7.4538, 47.2622)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CBA #BAB032
analogous
#3280BA #323CBA #6C32BA
triadic
#323CBA #BA323C #3CBA32
tetradic
#323CBA #BA3280 #BAB032 #32BA6C
square
#323CBA #BA3280 #BAB032 #32BA6C
split-complementary
#323CBA #BA6C32 #80BA32
monochromatic
#181D5A #252C8A #323CBA #5760D2 #888EDF

Accessibility & contrast

On white

8.43
#323CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#323CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CBA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CBA#FFFFFF#000000##FFFFFF
##323CBA1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323cba;
/* rgb */ color: rgb(50, 60, 186);
/* oklch */ color: oklch(43.7% 0.195 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e72d0',
    500: '#323cba',
    950: '#000000',
  },
}
SCSS
$custom: #323cba;
$custom-light: #7e72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#323cba",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 235.588,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43677,
    "c": 0.19461,
    "h": 271.8
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#323CBA
secondary
#C9C37F
accent
#D647E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #323CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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