#323FB7#323FB7

#323FB7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.187 H 271.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#323FB7
RGBrgb(50, 63, 183)
HSLhsl(234, 57%, 46%)
HSVhsv(234, 73%, 72%)
CMYKcmyk(72.7%, 65.6%, 0%, 28.2%)
CIE-LABlab(33.24, 36.02, -64.79)
CIE-LCHlch(33.24, 74.13, 299.07°)
OKLaboklab(43.9% 0.0044 -0.1873)
OKLCHoklch(43.9% 0.187 271.3)
XYZxyz(11.6372, 7.6508, 45.6540)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB7 #B7AA32
analogous
#3282B7 #323FB7 #6732B7
triadic
#323FB7 #B7323F #3FB732
tetradic
#323FB7 #B73282 #B7AA32 #32B767
square
#323FB7 #B73282 #B7AA32 #32B767
split-complementary
#323FB7 #B76732 #82B732
monochromatic
#181E57 #252E87 #323FB7 #5662D1 #868EDE

Accessibility & contrast

On white

8.30
#323FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#323FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FB7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB7#FFFFFF#000000##FFFFFF
##323FB71.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #323fb7;
/* rgb */ color: rgb(50, 63, 183);
/* oklch */ color: oklch(43.9% 0.187 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d74ce',
    500: '#323fb7',
    950: '#000000',
  },
}
SCSS
$custom: #323fb7;
$custom-light: #7d74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb7",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 234.135,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.18732,
    "h": 271.3
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#323FB7
secondary
#C7C07D
accent
#D147E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #323FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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