#34579B#34579B

#34579B is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.6% C 0.118 H 262.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#34579B
RGBrgb(52, 87, 155)
HSLhsl(220, 50%, 41%)
HSVhsv(220, 66%, 61%)
CMYKcmyk(66.5%, 43.9%, 0%, 39.2%)
CIE-LABlab(37.68, 10.32, -40.90)
CIE-LCHlch(37.68, 42.18, 284.16°)
OKLaboklab(46.62% -0.0158 -0.1167)
OKLCHoklch(46.62% 0.118 262.3)
XYZxyz(10.7387, 9.9120, 32.3513)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34579B #9B7834
analogous
#348A9B #34579B #45349B
triadic
#34579B #9B3457 #579B34
tetradic
#34579B #9B348A #9B7834 #349B45
square
#34579B #9B348A #9B7834 #349B45
split-complementary
#34579B #9B4534 #8A9B34
monochromatic
#15243F #253D6D #34579B #4A73C2 #7896D2

Accessibility & contrast

On white

7.04
#34579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34579B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34579B#FFFFFF#000000##FFFFFF
##34579B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#27549A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #34579b;
/* rgb */ color: rgb(52, 87, 155);
/* oklch */ color: oklch(46.6% 0.118 262.3);
Tailwind
colors: {
  custom: {
    50: '#7785b9',
    500: '#34579b',
    950: '#000000',
  },
}
SCSS
$custom: #34579b;
$custom-light: #7785b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34579b",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 219.612,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46615,
    "c": 0.11779,
    "h": 262.3
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34579B

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

Preview Lab → · Contrast checker → · Palette generator →

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