#34328E#34328E

#34328E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.148 H 277.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#34328E
RGBrgb(52, 50, 142)
HSLhsl(241, 48%, 38%)
HSVhsv(241, 65%, 56%)
CMYKcmyk(63.4%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.63, 30.11, -50.82)
CIE-LCHlch(26.63, 59.07, 300.65°)
OKLaboklab(37.99% 0.0198 -0.1463)
OKLCHoklch(37.99% 0.148 277.7)
XYZxyz(7.4377, 4.9637, 26.1521)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34328E #8C8E32
analogous
#325E8E #34328E #62328E
triadic
#34328E #8E3432 #328E34
tetradic
#34328E #8E325E #8C8E32 #328E62
square
#34328E #8E325E #8C8E32 #328E62
split-complementary
#34328E #8E6232 #5E8E32
monochromatic
#131233 #232261 #34328E #4542BB #706ECC

Accessibility & contrast

On white

10.54
#34328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34328E
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34328E#FFFFFF#000000##FFFFFF
##34328E1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34328e;
/* rgb */ color: rgb(52, 50, 142);
/* oklch */ color: oklch(38.0% 0.148 277.7);
Tailwind
colors: {
  custom: {
    50: '#766ab0',
    500: '#34328e',
    950: '#000000',
  },
}
SCSS
$custom: #34328e;
$custom-light: #766ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#34328e",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 241.304,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37991,
    "c": 0.14767,
    "h": 277.7
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#34328E
secondary
#B2B468
accent
#D850D5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #34328E

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

Preview Lab → · Contrast checker → · Palette generator →

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