#34559C#34559C

#34559C is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.122 H 263.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#34559C
RGBrgb(52, 85, 156)
HSLhsl(221, 50%, 41%)
HSVhsv(221, 67%, 61%)
CMYKcmyk(66.7%, 45.5%, 0%, 38.8%)
CIE-LABlab(37.16, 12.00, -42.33)
CIE-LCHlch(37.16, 44.00, 285.82°)
OKLaboklab(46.23% -0.0136 -0.121)
OKLCHoklch(46.23% 0.122 263.6)
XYZxyz(10.6633, 9.6263, 32.7422)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34559C #9C7B34
analogous
#34899C #34559C #47349C
triadic
#34559C #9C3455 #559C34
tetradic
#34559C #9C3489 #9C7B34 #349C47
square
#34559C #9C3489 #9C7B34 #349C47
split-complementary
#34559C #9C4734 #899C34
monochromatic
#152340 #253C6E #34559C #4A71C3 #7895D2

Accessibility & contrast

On white

7.18
#34559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#34559C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34559C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34559C#FFFFFF#000000##FFFFFF
##34559C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335D9F
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #34559c;
/* rgb */ color: rgb(52, 85, 156);
/* oklch */ color: oklch(46.2% 0.122 263.6);
Tailwind
colors: {
  custom: {
    50: '#7784ba',
    500: '#34559c',
    950: '#000000',
  },
}
SCSS
$custom: #34559c;
$custom-light: #7784ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34559c",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 220.962,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.12172,
    "h": 263.6
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#34559C
secondary
#BBA371
accent
#AD4EDA
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #34559C

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

Preview Lab → · Contrast checker → · Palette generator →

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