#34508D#34508D

#34508D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.106 H 264.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#34508D
RGBrgb(52, 80, 141)
HSLhsl(221, 46%, 38%)
HSVhsv(221, 63%, 55%)
CMYKcmyk(63.1%, 43.3%, 0%, 44.7%)
CIE-LABlab(34.78, 9.78, -37.05)
CIE-LCHlch(34.78, 38.32, 284.78°)
OKLaboklab(44.1% -0.0111 -0.1055)
OKLCHoklch(44.1% 0.106 264)
XYZxyz(9.0909, 8.3897, 26.3344)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34508D #8D7134
analogous
#347C8D #34508D #45348D
triadic
#34508D #8D3450 #508D34
tetradic
#34508D #8D347C #8D7134 #348D45
square
#34508D #8D347C #8D7134 #348D45
split-complementary
#34508D #8D4534 #7C8D34
monochromatic
#131D34 #243760 #34508D #4469BA #718DCB

Accessibility & contrast

On white

7.84
#34508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#34508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34508D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34508D#FFFFFF#000000##FFFFFF
##34508D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #34508d;
/* rgb */ color: rgb(52, 80, 141);
/* oklch */ color: oklch(44.1% 0.106 264.0);
Tailwind
colors: {
  custom: {
    50: '#7480af',
    500: '#34508d',
    950: '#000000',
  },
}
SCSS
$custom: #34508d;
$custom-light: #7480af;
$custom-dark: #000000;
JSON
{
  "hex": "#34508d",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 221.124,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44104,
    "c": 0.10612,
    "h": 264
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#34508D
secondary
#B39C6A
accent
#AC52D6
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #34508D

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

Preview Lab → · Contrast checker → · Palette generator →

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