#34559E#34559E

#34559E is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.125 H 263.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#34559E
RGBrgb(52, 85, 158)
HSLhsl(221, 50%, 41%)
HSVhsv(221, 67%, 62%)
CMYKcmyk(67.1%, 46.2%, 0%, 38%)
CIE-LABlab(37.29, 12.74, -43.33)
CIE-LCHlch(37.29, 45.16, 286.38°)
OKLaboklab(46.37% -0.0132 -0.1239)
OKLCHoklch(46.37% 0.125 263.9)
XYZxyz(10.8341, 9.6946, 33.6414)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34559E #9E7D34
analogous
#348A9E #34559E #48349E
triadic
#34559E #9E3455 #559E34
tetradic
#34559E #9E348A #9E7D34 #349E48
square
#34559E #9E348A #9E7D34 #349E48
split-complementary
#34559E #9E4834 #8A9E34
monochromatic
#162342 #253C70 #34559E #4B71C4 #7995D3

Accessibility & contrast

On white

7.14
#34559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#34559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34559E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34559E#FFFFFF#000000##FFFFFF
##34559E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #34559e;
/* rgb */ color: rgb(52, 85, 158);
/* oklch */ color: oklch(46.4% 0.125 263.9);
Tailwind
colors: {
  custom: {
    50: '#7784bb',
    500: '#34559e',
    950: '#000000',
  },
}
SCSS
$custom: #34559e;
$custom-light: #7784bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34559e",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 221.321,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.1246,
    "h": 263.9
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#34559E
secondary
#BCA572
accent
#AE4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #34559E

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

Preview Lab → · Contrast checker → · Palette generator →

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