#34559A#34559A

#34559A is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.1% C 0.119 H 263.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#34559A
RGBrgb(52, 85, 154)
HSLhsl(221, 50%, 40%)
HSVhsv(221, 66%, 60%)
CMYKcmyk(66.2%, 44.8%, 0%, 39.6%)
CIE-LABlab(37.04, 11.26, -41.33)
CIE-LCHlch(37.04, 42.83, 285.24°)
OKLaboklab(46.1% -0.0139 -0.118)
OKLCHoklch(46.1% 0.119 263.3)
XYZxyz(10.4954, 9.5592, 31.8576)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34559A #9A7934
analogous
#34889A #34559A #46349A
triadic
#34559A #9A3455 #559A34
tetradic
#34559A #9A3488 #9A7934 #349A46
square
#34559A #9A3488 #9A7934 #349A46
split-complementary
#34559A #9A4634 #889A34
monochromatic
#15223E #253C6C #34559A #4970C2 #7794D1

Accessibility & contrast

On white

7.21
#34559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#34559A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34559A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34559A#FFFFFF#000000##FFFFFF
##34559A1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#235399
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #34559a;
/* rgb */ color: rgb(52, 85, 154);
/* oklch */ color: oklch(46.1% 0.119 263.3);
Tailwind
colors: {
  custom: {
    50: '#7684b8',
    500: '#34559a',
    950: '#000000',
  },
}
SCSS
$custom: #34559a;
$custom-light: #7684b8;
$custom-dark: #000000;
JSON
{
  "hex": "#34559a",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 220.588,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.11883,
    "h": 263.3
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#34559A
secondary
#BAA270
accent
#AC4FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #34559A

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

Preview Lab → · Contrast checker → · Palette generator →

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