#34579F#34579F

#34579F is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.124 H 263.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#34579F
RGBrgb(52, 87, 159)
HSLhsl(220, 51%, 41%)
HSVhsv(220, 67%, 62%)
CMYKcmyk(67.3%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.93, 11.80, -42.90)
CIE-LCHlch(37.93, 44.50, 285.38°)
OKLaboklab(46.88% -0.0151 -0.1226)
OKLCHoklch(46.88% 0.124 263)
XYZxyz(11.0802, 10.0486, 34.1498)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34579F #9F7C34
analogous
#348D9F #34579F #47349F
triadic
#34579F #9F3457 #579F34
tetradic
#34579F #9F348D #9F7C34 #349F47
square
#34579F #9F348D #9F7C34 #349F47
split-complementary
#34579F #9F4734 #8D9F34
monochromatic
#162543 #253E71 #34579F #4C73C4 #7A97D3

Accessibility & contrast

On white

6.98
#34579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#34579F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34579F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34579F#FFFFFF#000000##FFFFFF
##34579F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#22559E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #34579f;
/* rgb */ color: rgb(52, 87, 159);
/* oklch */ color: oklch(46.9% 0.124 263.0);
Tailwind
colors: {
  custom: {
    50: '#7785bc',
    500: '#34579f',
    950: '#000000',
  },
}
SCSS
$custom: #34579f;
$custom-light: #7785bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34579f",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 220.374,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46883,
    "c": 0.12353,
    "h": 263
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#34579F
secondary
#BCA473
accent
#AC4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #34579F

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

Preview Lab → · Contrast checker → · Palette generator →

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