#345185#345185

#345185 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.093 H 261.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#345185
RGBrgb(52, 81, 133)
HSLhsl(219, 44%, 36%)
HSVhsv(219, 61%, 52%)
CMYKcmyk(60.9%, 39.1%, 0%, 47.8%)
CIE-LABlab(34.62, 6.22, -32.42)
CIE-LCHlch(34.62, 33.01, 280.86°)
OKLaboklab(43.82% -0.0141 -0.0919)
OKLCHoklch(43.82% 0.093 261.3)
XYZxyz(8.5908, 8.3076, 23.3366)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345185 #856834
analogous
#347A85 #345185 #403485
triadic
#345185 #853451 #518534
tetradic
#345185 #85347A #856834 #348540
square
#345185 #85347A #856834 #348540
split-complementary
#345185 #854034 #7A8534
monochromatic
#121B2D #233659 #345185 #456CB1 #6D8DC6

Accessibility & contrast

On white

7.89
#345185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#345185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345185
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345185#FFFFFF#000000##FFFFFF
##3451851.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5587
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345185;
/* rgb */ color: rgb(52, 81, 133);
/* oklch */ color: oklch(43.8% 0.093 261.3);
Tailwind
colors: {
  custom: {
    50: '#7381a9',
    500: '#345185',
    950: '#000000',
  },
}
SCSS
$custom: #345185;
$custom-light: #7381a9;
$custom-dark: #000000;
JSON
{
  "hex": "#345185",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 218.519,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.09302,
    "h": 261.3
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#345185
secondary
#AE9567
accent
#A654D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #345185

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

Preview Lab → · Contrast checker → · Palette generator →

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