#323A7E#323A7E

#323A7E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.1% C 0.114 H 274.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#323A7E
RGBrgb(50, 58, 126)
HSLhsl(234, 43%, 35%)
HSVhsv(234, 60%, 49%)
CMYKcmyk(60.3%, 54%, 0%, 50.6%)
CIE-LABlab(27.33, 18.69, -39.73)
CIE-LCHlch(27.33, 43.91, 295.20°)
OKLaboklab(38.07% 0.0091 -0.1137)
OKLCHoklch(38.07% 0.114 274.6)
XYZxyz(6.5931, 5.2101, 20.3928)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A7E #7E7632
analogous
#32607E #323A7E #50327E
triadic
#323A7E #7E323A #3A7E32
tetradic
#323A7E #7E3260 #7E7632 #327E50
square
#323A7E #7E3260 #7E7632 #327E50
split-complementary
#323A7E #7E5032 #607E32
monochromatic
#0F1226 #212652 #323A7E #434EAA #6871C3

Accessibility & contrast

On white

10.28
#323A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#323A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A7E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A7E#FFFFFF#000000##FFFFFF
##323A7E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#023D7D
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323a7e;
/* rgb */ color: rgb(50, 58, 126);
/* oklch */ color: oklch(38.1% 0.114 274.6);
Tailwind
colors: {
  custom: {
    50: '#7170a4',
    500: '#323a7e',
    950: '#000000',
  },
}
SCSS
$custom: #323a7e;
$custom-light: #7170a4;
$custom-dark: #000000;
JSON
{
  "hex": "#323a7e",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 233.684,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38072,
    "c": 0.11409,
    "h": 274.6
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#323A7E
secondary
#ABA361
accent
#C655D3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #323A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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