#34578F#34578F

#34578F is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.100 H 259.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#34578F
RGBrgb(52, 87, 143)
HSLhsl(217, 47%, 38%)
HSVhsv(217, 64%, 56%)
CMYKcmyk(63.6%, 39.2%, 0%, 43.9%)
CIE-LABlab(36.98, 5.93, -34.77)
CIE-LCHlch(36.98, 35.27, 279.68°)
OKLaboklab(45.85% -0.0185 -0.0988)
OKLCHoklch(45.85% 0.1 259.4)
XYZxyz(9.7805, 9.5287, 27.3051)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34578F #8F6C34
analogous
#34848F #34578F #3E348F
triadic
#34578F #8F3457 #578F34
tetradic
#34578F #8F3484 #8F6C34 #348F3E
square
#34578F #8F3484 #8F6C34 #348F3E
split-complementary
#34578F #8F3E34 #848F34
monochromatic
#132035 #243C62 #34578F #4572BB #7294CC

Accessibility & contrast

On white

7.23
#34578F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#34578F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34578F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34578F#FFFFFF#000000##FFFFFF
##34578F1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#32538E
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #34578f;
/* rgb */ color: rgb(52, 87, 143);
/* oklch */ color: oklch(45.8% 0.100 259.4);
Tailwind
colors: {
  custom: {
    50: '#7486b0',
    500: '#34578f',
    950: '#000000',
  },
}
SCSS
$custom: #34578f;
$custom-light: #7486b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34578f",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 216.923,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.10047,
    "h": 259.4
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#34578F
secondary
#B4986B
accent
#A351D6
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #34578F

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

Preview Lab → · Contrast checker → · Palette generator →

#34578F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva