#323A79#323A79

#323A79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.106 H 274.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#323A79
RGBrgb(50, 58, 121)
HSLhsl(233, 42%, 34%)
HSVhsv(233, 59%, 47%)
CMYKcmyk(58.7%, 52.1%, 0%, 52.5%)
CIE-LABlab(26.97, 16.89, -37.15)
CIE-LCHlch(26.97, 40.81, 294.45°)
OKLaboklab(37.69% 0.0087 -0.1061)
OKLCHoklch(37.69% 0.106 274.7)
XYZxyz(6.2785, 5.0843, 18.7360)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A79 #797132
analogous
#325D79 #323A79 #4D3279
triadic
#323A79 #79323A #3A7932
tetradic
#323A79 #79325D #797132 #32794D
square
#323A79 #79325D #797132 #32794D
split-complementary
#323A79 #794D32 #5D7932
monochromatic
#0E1022 #20254E #323A79 #444FA4 #6670C0

Accessibility & contrast

On white

10.41
#323A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#323A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A79
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A79#FFFFFF#000000##FFFFFF
##323A791.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#0E3D78
Tritanopia (blue-blind)
#094853
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323a79;
/* rgb */ color: rgb(50, 58, 121);
/* oklch */ color: oklch(37.7% 0.106 274.7);
Tailwind
colors: {
  custom: {
    50: '#7070a0',
    500: '#323a79',
    950: '#000000',
  },
}
SCSS
$custom: #323a79;
$custom-light: #7070a0;
$custom-dark: #000000;
JSON
{
  "hex": "#323a79",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 233.239,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37694,
    "c": 0.10648,
    "h": 274.7
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#323A79
secondary
#A79F5F
accent
#C356D1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #323A79

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

Preview Lab → · Contrast checker → · Palette generator →

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