#34579A#34579A

#34579A is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.116 H 262.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#34579A
RGBrgb(52, 87, 154)
HSLhsl(219, 50%, 40%)
HSVhsv(219, 66%, 60%)
CMYKcmyk(66.2%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.62, 9.95, -40.39)
CIE-LCHlch(37.62, 41.60, 283.84°)
OKLaboklab(46.55% -0.016 -0.1152)
OKLCHoklch(46.55% 0.116 262.1)
XYZxyz(10.6550, 9.8785, 31.9108)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34579A #9A7734
analogous
#348A9A #34579A #44349A
triadic
#34579A #9A3457 #579A34
tetradic
#34579A #9A348A #9A7734 #349A44
square
#34579A #9A348A #9A7734 #349A44
split-complementary
#34579A #9A4434 #8A9A34
monochromatic
#15233E #253D6C #34579A #4973C2 #7796D1

Accessibility & contrast

On white

7.06
#34579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#34579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34579A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34579A#FFFFFF#000000##FFFFFF
##34579A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#285499
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #34579a;
/* rgb */ color: rgb(52, 87, 154);
/* oklch */ color: oklch(46.5% 0.116 262.1);
Tailwind
colors: {
  custom: {
    50: '#7685b8',
    500: '#34579a',
    950: '#000000',
  },
}
SCSS
$custom: #34579a;
$custom-light: #7685b8;
$custom-dark: #000000;
JSON
{
  "hex": "#34579a",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 219.412,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.11635,
    "h": 262.1
  },
  "luminance": 0.0988
}

Semantic roles & 50–950 ramp

primary
#34579A
secondary
#BAA070
accent
#AA4FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #34579A

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

Preview Lab → · Contrast checker → · Palette generator →

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