#34517D#34517D

#34517D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.3% C 0.081 H 258.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#34517D
RGBrgb(52, 81, 125)
HSLhsl(216, 41%, 35%)
HSVhsv(216, 58%, 49%)
CMYKcmyk(58.4%, 35.2%, 0%, 51%)
CIE-LABlab(34.18, 3.37, -28.18)
CIE-LCHlch(34.18, 28.38, 276.82°)
OKLaboklab(43.34% -0.0162 -0.0796)
OKLCHoklch(43.34% 0.081 258.5)
XYZxyz(8.0590, 8.0949, 20.5359)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34517D #7D6034
analogous
#34767D #34517D #3B347D
triadic
#34517D #7D3451 #517D34
tetradic
#34517D #7D3476 #7D6034 #347D3B
square
#34517D #7D3476 #7D6034 #347D3B
split-complementary
#34517D #7D3B34 #767D34
monochromatic
#101927 #223552 #34517D #466DA8 #6A8DC1

Accessibility & contrast

On white

8.02
#34517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#34517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34517D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34517D#FFFFFF#000000##FFFFFF
##34517D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #34517d;
/* rgb */ color: rgb(52, 81, 125);
/* oklch */ color: oklch(43.3% 0.081 258.5);
Tailwind
colors: {
  custom: {
    50: '#7181a3',
    500: '#34517d',
    950: '#000000',
  },
}
SCSS
$custom: #34517d;
$custom-light: #7181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#34517d",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 216.164,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.0812,
    "h": 258.5
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#34517D
secondary
#A98E64
accent
#A057D1
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #34517D

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

Preview Lab → · Contrast checker → · Palette generator →

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