#323A90#323A90

#323A90 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.140 H 274.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#323A90
RGBrgb(50, 58, 144)
HSLhsl(235, 48%, 38%)
HSVhsv(235, 65%, 56%)
CMYKcmyk(65.3%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.69, 25.23, -48.71)
CIE-LCHlch(28.69, 54.86, 297.38°)
OKLaboklab(39.52% 0.0098 -0.1401)
OKLCHoklch(39.52% 0.14 274)
XYZxyz(7.8608, 5.7172, 27.0694)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A90 #908832
analogous
#326990 #323A90 #593290
triadic
#323A90 #90323A #3A9032
tetradic
#323A90 #903269 #908832 #329059
square
#323A90 #903269 #908832 #329059
split-complementary
#323A90 #905932 #699032
monochromatic
#121535 #222863 #323A90 #424CBD #6F77CD

Accessibility & contrast

On white

9.80
#323A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#323A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A90
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A90#FFFFFF#000000##FFFFFF
##323A901.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323a90;
/* rgb */ color: rgb(50, 58, 144);
/* oklch */ color: oklch(39.5% 0.140 274.0);
Tailwind
colors: {
  custom: {
    50: '#7570b1',
    500: '#323a90',
    950: '#000000',
  },
}
SCSS
$custom: #323a90;
$custom-light: #7570b1;
$custom-dark: #000000;
JSON
{
  "hex": "#323a90",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 234.894,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.14048,
    "h": 274
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#323A90
secondary
#B5AE69
accent
#CC50D8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #323A90

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

Preview Lab → · Contrast checker → · Palette generator →

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