#323FBD#323FBD

#323FBD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.195 H 271.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#323FBD
RGBrgb(50, 63, 189)
HSLhsl(234, 58%, 47%)
HSVhsv(234, 74%, 74%)
CMYKcmyk(73.5%, 66.7%, 0%, 25.9%)
CIE-LABlab(33.79, 38.14, -67.44)
CIE-LCHlch(33.79, 77.48, 299.49°)
OKLaboklab(44.46% 0.0039 -0.195)
OKLCHoklch(44.46% 0.195 271.1)
XYZxyz(12.2751, 7.9060, 49.0133)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FBD #BDB032
analogous
#3285BD #323FBD #6A32BD
triadic
#323FBD #BD323F #3FBD32
tetradic
#323FBD #BD3285 #BDB032 #32BD6A
square
#323FBD #BD3285 #BDB032 #32BD6A
split-complementary
#323FBD #BD6A32 #85BD32
monochromatic
#181F5C #252F8D #323FBD #5965D3 #8992E0

Accessibility & contrast

On white

8.14
#323FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#323FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FBD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FBD#FFFFFF#000000##FFFFFF
##323FBD1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #323fbd;
/* rgb */ color: rgb(50, 63, 189);
/* oklch */ color: oklch(44.5% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e74d2',
    500: '#323fbd',
    950: '#000000',
  },
}
SCSS
$custom: #323fbd;
$custom-light: #7e74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#323fbd",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 234.388,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.19507,
    "h": 271.1
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#323FBD
secondary
#CAC381
accent
#D346E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #323FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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