#34359B#34359B

#34359B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.162 H 275.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#34359B
RGBrgb(52, 53, 155)
HSLhsl(239, 50%, 41%)
HSVhsv(239, 66%, 61%)
CMYKcmyk(66.5%, 65.8%, 0%, 39.2%)
CIE-LABlab(28.49, 32.73, -55.76)
CIE-LCHlch(28.49, 64.66, 300.41°)
OKLaboklab(39.7% 0.0161 -0.1608)
OKLCHoklch(39.7% 0.162 275.7)
XYZxyz(8.6037, 5.6421, 31.6396)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34359B #9B9A34
analogous
#34699B #34359B #66349B
triadic
#34359B #9B3435 #359B34
tetradic
#34359B #9B3469 #9B9A34 #349B66
square
#34359B #9B3469 #9B9A34 #349B66
split-complementary
#34359B #9B6634 #699B34
monochromatic
#15163F #25256D #34359B #4A4BC2 #7879D2

Accessibility & contrast

On white

9.87
#34359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#34359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34359B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34359B#FFFFFF#000000##FFFFFF
##34359B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #34359b;
/* rgb */ color: rgb(52, 53, 155);
/* oklch */ color: oklch(39.7% 0.162 275.7);
Tailwind
colors: {
  custom: {
    50: '#796cb9',
    500: '#34359b',
    950: '#000000',
  },
}
SCSS
$custom: #34359b;
$custom-light: #796cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#34359b",
  "rgb": {
    "r": 52,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 239.417,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.397,
    "c": 0.16163,
    "h": 275.7
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#34359B
secondary
#BAB971
accent
#D84FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #34359B

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

Preview Lab → · Contrast checker → · Palette generator →

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