#345186#345186

#345186 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.095 H 261.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#345186
RGBrgb(52, 81, 134)
HSLhsl(219, 44%, 36%)
HSVhsv(219, 61%, 53%)
CMYKcmyk(61.2%, 39.6%, 0%, 47.5%)
CIE-LABlab(34.67, 6.58, -32.95)
CIE-LCHlch(34.67, 33.60, 281.29°)
OKLaboklab(43.89% -0.0138 -0.0935)
OKLCHoklch(43.89% 0.095 261.6)
XYZxyz(8.6602, 8.3354, 23.7022)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345186 #866934
analogous
#347A86 #345186 #403486
triadic
#345186 #863451 #518634
tetradic
#345186 #86347A #866934 #348640
square
#345186 #86347A #866934 #348640
split-complementary
#345186 #864034 #7A8634
monochromatic
#121C2E #23365A #345186 #456CB2 #6E8DC7

Accessibility & contrast

On white

7.87
#345186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#345186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345186
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345186#FFFFFF#000000##FFFFFF
##3451861.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5688
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345186;
/* rgb */ color: rgb(52, 81, 134);
/* oklch */ color: oklch(43.9% 0.095 261.6);
Tailwind
colors: {
  custom: {
    50: '#7381a9',
    500: '#345186',
    950: '#000000',
  },
}
SCSS
$custom: #345186;
$custom-light: #7381a9;
$custom-dark: #000000;
JSON
{
  "hex": "#345186",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 218.78,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43886,
    "c": 0.0945,
    "h": 261.6
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#345186
secondary
#AF9567
accent
#A754D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #345186

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

Preview Lab → · Contrast checker → · Palette generator →

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