#34579C#34579C

#34579C is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.119 H 262.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#34579C
RGBrgb(52, 87, 156)
HSLhsl(220, 50%, 41%)
HSVhsv(220, 67%, 61%)
CMYKcmyk(66.7%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.74, 10.69, -41.40)
CIE-LCHlch(37.74, 42.76, 284.48°)
OKLaboklab(46.68% -0.0156 -0.1182)
OKLCHoklch(46.68% 0.119 262.5)
XYZxyz(10.8230, 9.9457, 32.7954)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34579C #9C7934
analogous
#348B9C #34579C #45349C
triadic
#34579C #9C3457 #579C34
tetradic
#34579C #9C348B #9C7934 #349C45
square
#34579C #9C348B #9C7934 #349C45
split-complementary
#34579C #9C4534 #8B9C34
monochromatic
#152440 #253D6E #34579C #4A73C3 #7897D2

Accessibility & contrast

On white

7.02
#34579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#34579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34579C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34579C#FFFFFF#000000##FFFFFF
##34579C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#25549B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #34579c;
/* rgb */ color: rgb(52, 87, 156);
/* oklch */ color: oklch(46.7% 0.119 262.5);
Tailwind
colors: {
  custom: {
    50: '#7785ba',
    500: '#34579c',
    950: '#000000',
  },
}
SCSS
$custom: #34579c;
$custom-light: #7785ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34579c",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 219.808,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.11923,
    "h": 262.5
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#34579C
secondary
#BBA271
accent
#AB4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #34579C

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

Preview Lab → · Contrast checker → · Palette generator →

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