#323AB8#323AB8

#323AB8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.194 H 272.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#323AB8
RGBrgb(50, 58, 184)
HSLhsl(236, 57%, 46%)
HSVhsv(236, 73%, 72%)
CMYKcmyk(72.8%, 68.5%, 0%, 27.8%)
CIE-LABlab(32.18, 39.48, -67.13)
CIE-LCHlch(32.18, 77.88, 300.46°)
OKLaboklab(43.16% 0.0074 -0.1941)
OKLCHoklch(43.16% 0.194 272.2)
XYZxyz(11.4773, 7.1637, 46.1160)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AB8 #B8B032
analogous
#327DB8 #323AB8 #6D32B8
triadic
#323AB8 #B8323A #3AB832
tetradic
#323AB8 #B8327D #B8B032 #32B86D
square
#323AB8 #B8327D #B8B032 #32B86D
split-complementary
#323AB8 #B86D32 #7DB832
monochromatic
#181C58 #252B88 #323AB8 #565DD1 #868BDE

Accessibility & contrast

On white

8.63
#323AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#323AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AB8
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AB8#FFFFFF#000000##FFFFFF
##323AB81.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323ab8;
/* rgb */ color: rgb(50, 58, 184);
/* oklch */ color: oklch(43.2% 0.194 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e71ce',
    500: '#323ab8',
    950: '#000000',
  },
}
SCSS
$custom: #323ab8;
$custom-light: #7e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#323ab8",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 236.418,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43155,
    "c": 0.19429,
    "h": 272.2
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#323AB8
secondary
#C8C37E
accent
#D747E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #323AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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