#34578D#34578D

#34578D is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.7% C 0.098 H 258.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#34578D
RGBrgb(52, 87, 141)
HSLhsl(216, 46%, 38%)
HSVhsv(216, 63%, 55%)
CMYKcmyk(63.1%, 38.3%, 0%, 44.7%)
CIE-LABlab(36.87, 5.20, -33.73)
CIE-LCHlch(36.87, 34.13, 278.77°)
OKLaboklab(45.72% -0.019 -0.0957)
OKLCHoklch(45.72% 0.098 258.8)
XYZxyz(9.6304, 9.4687, 26.5143)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34578D #8D6A34
analogous
#34848D #34578D #3D348D
triadic
#34578D #8D3457 #578D34
tetradic
#34578D #8D3484 #8D6A34 #348D3D
square
#34578D #8D3484 #8D6A34 #348D3D
split-complementary
#34578D #8D3D34 #848D34
monochromatic
#132034 #243B60 #34578D #4473BA #7194CB

Accessibility & contrast

On white

7.26
#34578D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#34578D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34578D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34578D#FFFFFF#000000##FFFFFF
##34578D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#00636B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #34578d;
/* rgb */ color: rgb(52, 87, 141);
/* oklch */ color: oklch(45.7% 0.098 258.8);
Tailwind
colors: {
  custom: {
    50: '#7486ae',
    500: '#34578d',
    950: '#000000',
  },
}
SCSS
$custom: #34578d;
$custom-light: #7486ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34578d",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 141
  },
  "hsl": {
    "h": 216.404,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.09758,
    "h": 258.8
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#34578D
secondary
#B3966A
accent
#A252D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #34578D

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

Preview Lab → · Contrast checker → · Palette generator →

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