#34328D#34328D

#34328D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.146 H 277.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#34328D
RGBrgb(52, 50, 141)
HSLhsl(241, 48%, 37%)
HSVhsv(241, 65%, 55%)
CMYKcmyk(63.1%, 64.5%, 0%, 44.7%)
CIE-LABlab(26.55, 29.76, -50.34)
CIE-LCHlch(26.55, 58.48, 300.59°)
OKLaboklab(37.9% 0.0198 -0.1449)
OKLCHoklch(37.9% 0.146 277.8)
XYZxyz(7.3629, 4.9338, 25.7584)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34328D #8B8D32
analogous
#325D8D #34328D #62328D
triadic
#34328D #8D3432 #328D34
tetradic
#34328D #8D325D #8B8D32 #328D62
square
#34328D #8D325D #8B8D32 #328D62
split-complementary
#34328D #8D6232 #5D8D32
monochromatic
#131233 #232260 #34328D #4542BA #706ECC

Accessibility & contrast

On white

10.57
#34328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#34328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34328D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34328D#FFFFFF#000000##FFFFFF
##34328D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #34328d;
/* rgb */ color: rgb(52, 50, 141);
/* oklch */ color: oklch(37.9% 0.146 277.8);
Tailwind
colors: {
  custom: {
    50: '#766aaf',
    500: '#34328d',
    950: '#000000',
  },
}
SCSS
$custom: #34328d;
$custom-light: #766aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#34328d",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 241.319,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37902,
    "c": 0.14629,
    "h": 277.8
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#34328D
secondary
#B2B368
accent
#D751D4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #34328D

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

Preview Lab → · Contrast checker → · Palette generator →

#34328D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva