#34328F#34328F

#34328F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.149 H 277.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#34328F
RGBrgb(52, 50, 143)
HSLhsl(241, 48%, 38%)
HSVhsv(241, 65%, 56%)
CMYKcmyk(63.6%, 65%, 0%, 43.9%)
CIE-LABlab(26.72, 30.46, -51.30)
CIE-LCHlch(26.72, 59.66, 300.70°)
OKLaboklab(38.08% 0.0197 -0.1477)
OKLCHoklch(38.08% 0.149 277.6)
XYZxyz(7.5131, 4.9938, 26.5493)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34328F #8D8F32
analogous
#325F8F #34328F #62328F
triadic
#34328F #8F3432 #328F34
tetradic
#34328F #8F325F #8D8F32 #328F62
square
#34328F #8F325F #8D8F32 #328F62
split-complementary
#34328F #8F6232 #5F8F32
monochromatic
#131234 #242262 #34328F #4442BC #716FCD

Accessibility & contrast

On white

10.51
#34328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#34328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34328F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34328F#FFFFFF#000000##FFFFFF
##34328F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #34328f;
/* rgb */ color: rgb(52, 50, 143);
/* oklch */ color: oklch(38.1% 0.149 277.6);
Tailwind
colors: {
  custom: {
    50: '#766ab1',
    500: '#34328f',
    950: '#000000',
  },
}
SCSS
$custom: #34328f;
$custom-light: #766ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#34328f",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 241.29,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.14904,
    "h": 277.6
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#34328F
secondary
#B3B468
accent
#D850D5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #34328F

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

Preview Lab → · Contrast checker → · Palette generator →

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