#323F98#323F98

#323F98 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.145 H 272.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#323F98
RGBrgb(50, 63, 152)
HSLhsl(232, 50%, 40%)
HSVhsv(232, 67%, 60%)
CMYKcmyk(67.1%, 58.6%, 0%, 40.4%)
CIE-LABlab(30.64, 24.81, -50.44)
CIE-LCHlch(30.64, 56.21, 296.19°)
OKLaboklab(41.17% 0.0053 -0.1452)
OKLCHoklch(41.17% 0.145 272.1)
XYZxyz(8.7585, 6.4993, 30.4926)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F98 #988B32
analogous
#327298 #323F98 #583298
triadic
#323F98 #98323F #3F9832
tetradic
#323F98 #983272 #988B32 #329858
square
#323F98 #983272 #988B32 #329858
split-complementary
#323F98 #985832 #729832
monochromatic
#14193C #232C6A #323F98 #4555C2 #737FD1

Accessibility & contrast

On white

9.13
#323F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#323F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F98
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F98#FFFFFF#000000##FFFFFF
##323F981.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323f98;
/* rgb */ color: rgb(50, 63, 152);
/* oklch */ color: oklch(41.2% 0.145 272.1);
Tailwind
colors: {
  custom: {
    50: '#7673b7',
    500: '#323f98',
    950: '#000000',
  },
}
SCSS
$custom: #323f98;
$custom-light: #7673b7;
$custom-dark: #000000;
JSON
{
  "hex": "#323f98",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 232.353,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.14527,
    "h": 272.1
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#323F98
secondary
#B9AF6D
accent
#C84EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323F98

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

Preview Lab → · Contrast checker → · Palette generator →

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