#345586#345586

#345586 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.090 H 258.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#345586
RGBrgb(52, 85, 134)
HSLhsl(216, 44%, 36%)
HSVhsv(216, 61%, 53%)
CMYKcmyk(61.2%, 36.6%, 0%, 47.5%)
CIE-LABlab(35.88, 3.98, -31.03)
CIE-LCHlch(35.88, 31.28, 277.30°)
OKLaboklab(44.83% -0.0185 -0.0878)
OKLCHoklch(44.83% 0.09 258.1)
XYZxyz(8.9662, 8.9475, 23.8042)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345586 #866534
analogous
#347E86 #345586 #3C3486
triadic
#345586 #863455 #558634
tetradic
#345586 #86347E #866534 #34863C
square
#345586 #86347E #866534 #34863C
split-complementary
#345586 #863C34 #7E8634
monochromatic
#121D2E #23395A #345586 #4571B2 #6E92C7

Accessibility & contrast

On white

7.53
#345586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#345586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345586
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345586#FFFFFF#000000##FFFFFF
##3455861.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405988
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345586;
/* rgb */ color: rgb(52, 85, 134);
/* oklch */ color: oklch(44.8% 0.090 258.1);
Tailwind
colors: {
  custom: {
    50: '#7384a9',
    500: '#345586',
    950: '#000000',
  },
}
SCSS
$custom: #345586;
$custom-light: #7384a9;
$custom-dark: #000000;
JSON
{
  "hex": "#345586",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 134
  },
  "hsl": {
    "h": 215.854,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.08977,
    "h": 258.1
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#345586
secondary
#AF9267
accent
#A054D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #345586

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

Preview Lab → · Contrast checker → · Palette generator →

#345586 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva