#323BAF#323BAF

#323BAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.182 H 272.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#323BAF
RGBrgb(50, 59, 175)
HSLhsl(236, 56%, 44%)
HSVhsv(236, 71%, 69%)
CMYKcmyk(71.4%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.58, 35.70, -62.77)
CIE-LCHlch(31.58, 72.21, 299.63°)
OKLaboklab(42.47% 0.0076 -0.1814)
OKLCHoklch(42.47% 0.182 272.4)
XYZxyz(10.6146, 6.9001, 41.3216)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BAF #AFA632
analogous
#327AAF #323BAF #6832AF
triadic
#323BAF #AF323B #3BAF32
tetradic
#323BAF #AF327A #AFA632 #32AF68
square
#323BAF #AF327A #AFA632 #32AF68
split-complementary
#323BAF #AF6832 #7AAF32
monochromatic
#171B50 #242B7F #323BAF #515ACD #8187DB

Accessibility & contrast

On white

8.82
#323BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#323BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BAF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BAF#FFFFFF#000000##FFFFFF
##323BAF1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323baf;
/* rgb */ color: rgb(50, 59, 175);
/* oklch */ color: oklch(42.5% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c71c8',
    500: '#323baf',
    950: '#000000',
  },
}
SCSS
$custom: #323baf;
$custom-light: #7c71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#323baf",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 235.68,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.18154,
    "h": 272.4
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#323BAF
secondary
#C4BF79
accent
#D449DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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