#323F7B#323F7B

#323F7B is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.102 H 271.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#323F7B
RGBrgb(50, 63, 123)
HSLhsl(229, 42%, 34%)
HSVhsv(229, 59%, 48%)
CMYKcmyk(59.3%, 48.8%, 0%, 51.8%)
CIE-LABlab(28.55, 14.20, -35.89)
CIE-LCHlch(28.55, 38.59, 291.59°)
OKLaboklab(38.93% 0.003 -0.1024)
OKLCHoklch(38.93% 0.102 271.7)
XYZxyz(6.6669, 5.6627, 19.4767)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F7B #7B6E32
analogous
#32647B #323F7B #4A327B
triadic
#323F7B #7B323F #3F7B32
tetradic
#323F7B #7B3264 #7B6E32 #327B4A
square
#323F7B #7B3264 #7B6E32 #327B4A
split-complementary
#323F7B #7B4A32 #647B32
monochromatic
#0F1224 #20294F #323F7B #4455A7 #6677C1

Accessibility & contrast

On white

9.85
#323F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#323F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F7B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F7B#FFFFFF#000000##FFFFFF
##323F7B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#18407A
Tritanopia (blue-blind)
#034C57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #323f7b;
/* rgb */ color: rgb(50, 63, 123);
/* oklch */ color: oklch(38.9% 0.102 271.7);
Tailwind
colors: {
  custom: {
    50: '#7173a1',
    500: '#323f7b',
    950: '#000000',
  },
}
SCSS
$custom: #323f7b;
$custom-light: #7173a1;
$custom-dark: #000000;
JSON
{
  "hex": "#323f7b",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 229.315,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.1024,
    "h": 271.7
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#323F7B
secondary
#A99C60
accent
#BC56D2
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #323F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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