#323A7B#323A7B

#323A7B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.8% C 0.110 H 274.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#323A7B
RGBrgb(50, 58, 123)
HSLhsl(233, 42%, 34%)
HSVhsv(233, 59%, 48%)
CMYKcmyk(59.3%, 52.8%, 0%, 51.8%)
CIE-LABlab(27.11, 17.61, -38.19)
CIE-LCHlch(27.11, 42.05, 294.76°)
OKLaboklab(37.84% 0.0089 -0.1092)
OKLCHoklch(37.84% 0.11 274.6)
XYZxyz(6.4024, 5.1338, 19.3886)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A7B #7B7332
analogous
#325F7B #323A7B #4F327B
triadic
#323A7B #7B323A #3A7B32
tetradic
#323A7B #7B325F #7B7332 #327B4F
square
#323A7B #7B325F #7B7332 #327B4F
split-complementary
#323A7B #7B4F32 #5F7B32
monochromatic
#0F1124 #20254F #323A7B #444FA7 #6670C1

Accessibility & contrast

On white

10.36
#323A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#323A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A7B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A7B#FFFFFF#000000##FFFFFF
##323A7B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#0A3D7A
Tritanopia (blue-blind)
#054954
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323a7b;
/* rgb */ color: rgb(50, 58, 123);
/* oklch */ color: oklch(37.8% 0.110 274.6);
Tailwind
colors: {
  custom: {
    50: '#7170a2',
    500: '#323a7b',
    950: '#000000',
  },
}
SCSS
$custom: #323a7b;
$custom-light: #7170a2;
$custom-dark: #000000;
JSON
{
  "hex": "#323a7b",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 233.425,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37844,
    "c": 0.10954,
    "h": 274.6
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#323A7B
secondary
#A9A160
accent
#C456D2
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #323A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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