#345786#345786

#345786 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.088 H 256.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#345786
RGBrgb(52, 87, 134)
HSLhsl(214, 44%, 36%)
HSVhsv(214, 61%, 53%)
CMYKcmyk(61.2%, 35.1%, 0%, 47.5%)
CIE-LABlab(36.49, 2.69, -30.07)
CIE-LCHlch(36.49, 30.19, 275.11°)
OKLaboklab(45.3% -0.0208 -0.085)
OKLCHoklch(45.3% 0.088 256.2)
XYZxyz(9.1259, 9.2669, 23.8574)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345786 #866334
analogous
#348086 #345786 #3A3486
triadic
#345786 #863457 #578634
tetradic
#345786 #863480 #866334 #34863A
square
#345786 #863480 #866334 #34863A
split-complementary
#345786 #863A34 #808634
monochromatic
#121E2E #233A5A #345786 #4574B2 #6E94C7

Accessibility & contrast

On white

7.36
#345786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#345786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345786
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345786#FFFFFF#000000##FFFFFF
##3457861.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A88
Deuteranopia (green-blind)
#395285
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #345786;
/* rgb */ color: rgb(52, 87, 134);
/* oklch */ color: oklch(45.3% 0.088 256.2);
Tailwind
colors: {
  custom: {
    50: '#7386a9',
    500: '#345786',
    950: '#000000',
  },
}
SCSS
$custom: #345786;
$custom-light: #7386a9;
$custom-dark: #000000;
JSON
{
  "hex": "#345786",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 214.39,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.08754,
    "h": 256.2
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#345786
secondary
#AF9067
accent
#9D54D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #345786

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

Preview Lab → · Contrast checker → · Palette generator →

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