#34579E#34579E

#34579E is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.122 H 262.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#34579E
RGBrgb(52, 87, 158)
HSLhsl(220, 50%, 41%)
HSVhsv(220, 67%, 62%)
CMYKcmyk(67.1%, 44.9%, 0%, 38%)
CIE-LABlab(37.87, 11.43, -42.40)
CIE-LCHlch(37.87, 43.92, 285.08°)
OKLaboklab(46.82% -0.0152 -0.1211)
OKLCHoklch(46.82% 0.122 262.8)
XYZxyz(10.9938, 10.0140, 33.6946)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34579E #9E7B34
analogous
#348C9E #34579E #46349E
triadic
#34579E #9E3457 #579E34
tetradic
#34579E #9E348C #9E7B34 #349E46
square
#34579E #9E348C #9E7B34 #349E46
split-complementary
#34579E #9E4634 #8C9E34
monochromatic
#162442 #253E70 #34579E #4B73C4 #7997D3

Accessibility & contrast

On white

6.99
#34579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#34579E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34579E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34579E#FFFFFF#000000##FFFFFF
##34579E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA1
Deuteranopia (green-blind)
#23559D
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #34579e;
/* rgb */ color: rgb(52, 87, 158);
/* oklch */ color: oklch(46.8% 0.122 262.8);
Tailwind
colors: {
  custom: {
    50: '#7785bb',
    500: '#34579e',
    950: '#000000',
  },
}
SCSS
$custom: #34579e;
$custom-light: #7785bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34579e",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 220.189,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.1221,
    "h": 262.8
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34579E

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

Preview Lab → · Contrast checker → · Palette generator →

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