#323A94#323A94

#323A94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.146 H 273.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#323A94
RGBrgb(50, 58, 148)
HSLhsl(235, 49%, 39%)
HSVhsv(235, 66%, 58%)
CMYKcmyk(66.2%, 60.8%, 0%, 42%)
CIE-LABlab(29.01, 26.68, -50.64)
CIE-LCHlch(29.01, 57.24, 297.78°)
OKLaboklab(39.86% 0.0098 -0.1458)
OKLCHoklch(39.86% 0.146 273.8)
XYZxyz(8.1720, 5.8416, 28.7081)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A94 #948C32
analogous
#326B94 #323A94 #5B3294
triadic
#323A94 #94323A #3A9432
tetradic
#323A94 #94326B #948C32 #32945B
square
#323A94 #94326B #948C32 #32945B
split-complementary
#323A94 #945B32 #6B9432
monochromatic
#131639 #232866 #323A94 #444EC0 #7179CF

Accessibility & contrast

On white

9.68
#323A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#323A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A94
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A94#FFFFFF#000000##FFFFFF
##323A941.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323a94;
/* rgb */ color: rgb(50, 58, 148);
/* oklch */ color: oklch(39.9% 0.146 273.8);
Tailwind
colors: {
  custom: {
    50: '#7670b4',
    500: '#323a94',
    950: '#000000',
  },
}
SCSS
$custom: #323a94;
$custom-light: #7670b4;
$custom-dark: #000000;
JSON
{
  "hex": "#323a94",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 235.102,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.14615,
    "h": 273.8
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#323A94
secondary
#B7B16B
accent
#CE4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323A94

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

Preview Lab → · Contrast checker → · Palette generator →

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