#34359A#34359A

#34359A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.160 H 275.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#34359A
RGBrgb(52, 53, 154)
HSLhsl(239, 50%, 40%)
HSVhsv(239, 66%, 60%)
CMYKcmyk(66.2%, 65.6%, 0%, 39.6%)
CIE-LABlab(28.40, 32.38, -55.30)
CIE-LCHlch(28.40, 64.08, 300.35°)
OKLaboklab(39.61% 0.0162 -0.1595)
OKLCHoklch(39.61% 0.16 275.8)
XYZxyz(8.5201, 5.6086, 31.1992)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34359A #9A9934
analogous
#34689A #34359A #66349A
triadic
#34359A #9A3435 #359A34
tetradic
#34359A #9A3468 #9A9934 #349A66
square
#34359A #9A3468 #9A9934 #349A66
split-complementary
#34359A #9A6634 #689A34
monochromatic
#15163E #25256C #34359A #494BC2 #7778D1

Accessibility & contrast

On white

9.90
#34359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#34359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34359A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34359A#FFFFFF#000000##FFFFFF
##34359A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #34359a;
/* rgb */ color: rgb(52, 53, 154);
/* oklch */ color: oklch(39.6% 0.160 275.8);
Tailwind
colors: {
  custom: {
    50: '#786cb9',
    500: '#34359a',
    950: '#000000',
  },
}
SCSS
$custom: #34359a;
$custom-light: #786cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#34359a",
  "rgb": {
    "r": 52,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 239.412,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.16029,
    "h": 275.8
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#34359A
secondary
#BAB970
accent
#D84FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #34359A

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

Preview Lab → · Contrast checker → · Palette generator →

#34359A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva