#323FB8#323FB8

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

Color values

HEX#323FB8
RGBrgb(50, 63, 184)
HSLhsl(234, 57%, 46%)
HSVhsv(234, 73%, 72%)
CMYKcmyk(72.8%, 65.8%, 0%, 27.8%)
CIE-LABlab(33.33, 36.37, -65.23)
CIE-LCHlch(33.33, 74.69, 299.14°)
OKLaboklab(44% 0.0043 -0.1886)
OKLCHoklch(44% 0.189 271.3)
XYZxyz(11.7417, 7.6926, 46.2041)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB8 #B8AB32
analogous
#3282B8 #323FB8 #6832B8
triadic
#323FB8 #B8323F #3FB832
tetradic
#323FB8 #B83282 #B8AB32 #32B868
square
#323FB8 #B83282 #B8AB32 #32B868
split-complementary
#323FB8 #B86832 #82B832
monochromatic
#181E58 #252F88 #323FB8 #5662D1 #868FDE

Accessibility & contrast

On white

8.27
#323FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#323FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FB8
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB8#FFFFFF#000000##FFFFFF
##323FB81.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #323fb8;
/* rgb */ color: rgb(50, 63, 184);
/* oklch */ color: oklch(44.0% 0.189 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d74ce',
    500: '#323fb8',
    950: '#000000',
  },
}
SCSS
$custom: #323fb8;
$custom-light: #7d74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb8",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 234.179,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.18862,
    "h": 271.3
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#323FB8
secondary
#C8C17E
accent
#D247E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #323FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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