#323B94#323B94

#323B94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.145 H 273.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#323B94
RGBrgb(50, 59, 148)
HSLhsl(234, 49%, 39%)
HSVhsv(234, 66%, 58%)
CMYKcmyk(66.2%, 60.1%, 0%, 42%)
CIE-LABlab(29.27, 26.01, -50.22)
CIE-LCHlch(29.27, 56.56, 297.38°)
OKLaboklab(40.05% 0.0089 -0.1446)
OKLCHoklch(40.05% 0.145 273.5)
XYZxyz(8.2229, 5.9434, 28.7251)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B94 #948B32
analogous
#326C94 #323B94 #5A3294
triadic
#323B94 #94323B #3B9432
tetradic
#323B94 #94326C #948B32 #32945A
square
#323B94 #94326C #948B32 #32945A
split-complementary
#323B94 #945A32 #6C9432
monochromatic
#131739 #232966 #323B94 #444FC0 #717ACF

Accessibility & contrast

On white

9.59
#323B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#323B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B94
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B94#FFFFFF#000000##FFFFFF
##323B941.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323b94;
/* rgb */ color: rgb(50, 59, 148);
/* oklch */ color: oklch(40.1% 0.145 273.5);
Tailwind
colors: {
  custom: {
    50: '#7671b4',
    500: '#323b94',
    950: '#000000',
  },
}
SCSS
$custom: #323b94;
$custom-light: #7671b4;
$custom-dark: #000000;
JSON
{
  "hex": "#323b94",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 234.49,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.14484,
    "h": 273.5
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#323B94
secondary
#B7B06B
accent
#CC4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323B94

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

Preview Lab → · Contrast checker → · Palette generator →

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