#323CAF#323CAF

#323CAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.180 H 272.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#323CAF
RGBrgb(50, 60, 175)
HSLhsl(235, 56%, 44%)
HSVhsv(235, 71%, 69%)
CMYKcmyk(71.4%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.82, 35.07, -62.38)
CIE-LCHlch(31.82, 71.56, 299.35°)
OKLaboklab(42.64% 0.0069 -0.1802)
OKLCHoklch(42.64% 0.18 272.2)
XYZxyz(10.6665, 7.0039, 41.3389)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CAF #AFA532
analogous
#327BAF #323CAF #6732AF
triadic
#323CAF #AF323C #3CAF32
tetradic
#323CAF #AF327B #AFA532 #32AF67
square
#323CAF #AF327B #AFA532 #32AF67
split-complementary
#323CAF #AF6732 #7BAF32
monochromatic
#171B50 #242C7F #323CAF #515BCD #8188DB

Accessibility & contrast

On white

8.75
#323CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#323CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CAF
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CAF#FFFFFF#000000##FFFFFF
##323CAF1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323caf;
/* rgb */ color: rgb(50, 60, 175);
/* oklch */ color: oklch(42.6% 0.180 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c72c8',
    500: '#323caf',
    950: '#000000',
  },
}
SCSS
$custom: #323caf;
$custom-light: #7c72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#323caf",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 235.2,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.18037,
    "h": 272.2
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#323CAF
secondary
#C4BE79
accent
#D349DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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