#34507A#34507A

#34507A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 42.9% C 0.078 H 258.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#34507A
RGBrgb(52, 80, 122)
HSLhsl(216, 40%, 34%)
HSVhsv(216, 57%, 48%)
CMYKcmyk(57.4%, 34.4%, 0%, 52.2%)
CIE-LABlab(33.71, 2.96, -27.05)
CIE-LCHlch(33.71, 27.21, 276.25°)
OKLaboklab(42.93% -0.0158 -0.0763)
OKLCHoklch(42.93% 0.078 258.3)
XYZxyz(7.7965, 7.8719, 19.5172)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34507A #7A5E34
analogous
#34737A #34507A #3B347A
triadic
#34507A #7A3450 #507A34
tetradic
#34507A #7A3473 #7A5E34 #347A3B
square
#34507A #7A3473 #7A5E34 #347A3B
split-complementary
#34507A #7A3B34 #737A34
monochromatic
#0F1824 #22344F #34507A #466CA5 #698CBF

Accessibility & contrast

On white

8.16
#34507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#34507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34507A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34507A#FFFFFF#000000##FFFFFF
##34507A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#07595F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34507a;
/* rgb */ color: rgb(52, 80, 122);
/* oklch */ color: oklch(42.9% 0.078 258.3);
Tailwind
colors: {
  custom: {
    50: '#7180a0',
    500: '#34507a',
    950: '#000000',
  },
}
SCSS
$custom: #34507a;
$custom-light: #7180a0;
$custom-dark: #000000;
JSON
{
  "hex": "#34507a",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 216,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.07792,
    "h": 258.3
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#34507A
secondary
#A78C63
accent
#A058D0
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E

Preview Lab

Preview with #34507A

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

Preview Lab → · Contrast checker → · Palette generator →

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