#323FB3#323FB3

#323FB3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.182 H 271.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#323FB3
RGBrgb(50, 63, 179)
HSLhsl(234, 56%, 45%)
HSVhsv(234, 72%, 70%)
CMYKcmyk(72.1%, 64.8%, 0%, 29.8%)
CIE-LABlab(32.89, 34.59, -63.00)
CIE-LCHlch(32.89, 71.87, 298.77°)
OKLaboklab(43.54% 0.0046 -0.182)
OKLCHoklch(43.54% 0.182 271.5)
XYZxyz(11.2268, 7.4867, 43.4925)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB3 #B3A632
analogous
#3280B3 #323FB3 #6532B3
triadic
#323FB3 #B3323F #3FB332
tetradic
#323FB3 #B33280 #B3A632 #32B365
square
#323FB3 #B33280 #B3A632 #32B365
split-complementary
#323FB3 #B36532 #80B332
monochromatic
#171D53 #252E83 #323FB3 #5360CF #838CDC

Accessibility & contrast

On white

8.41
#323FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#323FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FB3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB3#FFFFFF#000000##FFFFFF
##323FB31.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323fb3;
/* rgb */ color: rgb(50, 63, 179);
/* oklch */ color: oklch(43.5% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c74cb',
    500: '#323fb3',
    950: '#000000',
  },
}
SCSS
$custom: #323fb3;
$custom-light: #7c74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb3",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 233.953,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43535,
    "c": 0.18209,
    "h": 271.5
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#323FB3
secondary
#C6BE7B
accent
#D048E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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